How to Comment in a Batch File
Have you ever wrote long, confusing and important blocks of code in batch only to find 2 days later you forgot what it does? If so then this article is for you!
This article has been tagged as a stub. That means it's off to a good start, but still has plenty of room to grow before it reaches its full potential. Can you help it flourish? If you think the article offers complete and accurate instructions, feel free to remove this tag! |
EditSteps
-
1Open the batch file in you favorite text editor.
-
2Locate the block or line of code you want to organize.
-
3Add a comment line (::) and write what the code does!
We could really use your help!
Fitbit?

pranking?

homesteading?

raising children?

EditTips
- A good idea is to add an "~" without the quotes after the :: of a comment line to let you and other scripters know that it is a comment line.
- Always make sure you write a good description of what the code does, it doesn't have to be an essay but just a 1-2 sentence description.
Article Info
Categories: Stub | Computers and Electronics | Programming
Thanks to all authors for creating a page that has been read 552 times.
About this wikiHow