"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

DOS and Batch Files

Another way to REMark

SUMMARY: Another way to add comments to batch files.


 

Instead of using just the REM command to place remarks in batch files, you can do the following to make the batch file easier to read.

Use a semicolon as the first character of the remark line, then tab twice, type in REM, a space, and then your remark. Placing your comments in the middle of the line may make the file easier to read.



Print This Tip

Get E-Mail When New Tips are Online

Return to the DOS and Batch Files page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )