Commenting multiple lines in DOS batch file

前端 未结 7 2098
温柔的废话
温柔的废话 2020-12-04 08:18

I have written huge MS DOS Batch file. To test this batch file I need to execute some lines only and want to hide/comment out remaining.

I have some existing comment

相关标签:
7条回答
  • 2020-12-04 09:10

    You can use a goto to skip over code.

    goto comment
    ...skip this...
    :comment
    
    0 讨论(0)
提交回复
热议问题