You wrote to the SurvPC list:

>The problem is that my syntax is not correct DOS and I'm not sure if DOS
>supports what I want to do:
>
>APPEND ECHO DIR C:\WORK\*.XYZ C:\WORK\TIME.TXT
>
>I know that's not correct and DOS knows it too.
>
>Is there a way to do this in DOS?
>

   Yes - try this:

         DIR C:\WORK\*.XYZ >> C:\WORK\TIME.TXT

   Note that the double > before C:\WORK\TIME.TXT is NOT a
mistake - the >> causes the latest directory listing to be
appended to the existing file TIME.TXT, rather than creating
a new TIME.TXT.

   Hope it's helpful,

      Ron.

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to