79190237

Date: 2024-11-14 19:58:23
Score: 1.5
Natty:
Report link
set myvar=Yes
if %myvar%=="Yes" (
echo Myvar is yes
set myvar=nothing
)

or you can just use "&" like this:

set myvar=Yes
if %myvar%=="Yes" echo Myvar is yes&set myvar=nothing
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Talibu Mammadov