谈到在DOS批处理文件使用多行 [英] Commenting multiple lines in DOS batch file
本文介绍了谈到在DOS批处理文件使用多行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经写了巨大的MS DOS批处理文件。为了测试这个批处理文件,我只需要执行一些线路并想隐藏/注释掉剩余。
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 lines starting with :: hence I cannot use :: anymore as it will scramble all comments.
在这方面的任何帮助将AP preciated。
提前致谢,
周杰伦
Any help in this regard will be appreciated. Thanks in advance, Jay
推荐答案
您可以使用转到
来跳过code。
You can use a goto
to skip over code.
goto comment
...skip this...
:comment
这篇关于谈到在DOS批处理文件使用多行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文