I have a batch file that runs several python scripts that do table modifications.
-
I want to have users comment out the 1-2 python scripts that they don't want to run, rather than removing them from the batch file (so the next user knows these scripts exist as options!)
-
I also want to add comments to bring to their attention specifically the variables they need to update in the Batch file before they run it. I see that I can use
REM
. But it looks like that's more for updating the user with progress after they've run it.
Is there a syntax for more appropriately adding a comment?
Best Solution
Use
::
orREM
BUT (as people noted):
::
doesn't work inline; add&
character:your commands here & :: commenttttttttttt
IF/ELSE
,FOR
loops, etc...)::
should be followed with normal line, otherwise it gives error (useREM
there).::
may also fail withinsetlocal ENABLEDELAYEDEXPANSION