comment-conventions

How to “comment-out” (add comment) in a batch/cmd?

北城以北 提交于 2019-11-28 02:31:17
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? The rem command

How to “comment-out” (add comment) in a batch/cmd?

混江龙づ霸主 提交于 2019-11-26 23:44:36
问题 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