Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Adding comments in a DOS Batch file that are not sent to DOS window  (Read 23070 times)

0 Members and 1 Guest are viewing this topic.

Tim_C

    Topic Starter


    Greenhorn

    Hello,

    How do I add comments to a batch file that are NOT sent to the DOS window such as with a "REM" command?  I want to include comments for only the programmer.

    Tim_C

    diablo416



      Hopeful
      Re: Adding comments in a DOS Batch file that are not sent to DOS window
      « Reply #1 on: June 24, 2008, 11:43:34 AM »

      you can use :: say this was your batch file

      @echo off
      for,/f;"tokens=1*",%a;in('dir /a /b'),do;echo.%a
      ::This is a line
      cls,&;echo. &;echo,Ok