}- Can any DOS pros please help me regarding some DOS commands.
}- I'd like to create a .BAT file that will issue a DIR command
}- for a directory so that it ECHOs to and appends to the same
}- daily diary file and each day I run the .BAT it will append
}- .......
}- For example...
}- Day X:
}- ABC.txt 5:40pm
}- .......
}- 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?
Very simple. To do this, simply type the following at the prompt
or write it into your batch file. It's simple redirection.
dir c:\work\*.xyz >>c:\work\time.txt
Glad to help,
Boanne
--
FROM: Over the hills and far away...
[EMAIL PROTECTED]
A Dinosaurs Garden (collection of DOS links and files)
http://209.176.167.1/dinosaur/dg.htm
*Trust your technologist.
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