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 the DIR to the end of the
same file so that when I want I can see what time the files were written
each day over time. The files are deleted and re-created daily. The
goal is to keep a daily diary of the what time the files were written.
For example...
Day X:
ABC.txt 5:40pm
DEF.txt 5:41pm
GHI.txt 5:43pm
Day Y:
ABC.txt 5:42pm
DEF.txt 5:44pm
GHI.txt 5:50pm
Day Z:
ABC.txt 5:40pm
DEF.txt 5:41pm
GHI.txt 6:00pm
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?
*** |===| PACKARD BELL * Pack-Mate Legend 386x ***
* __|___|__ 386sx-16Mhz, 4MB, VGA-256K, DOS 6.22/WFW 3.11 *
* |_____==_=|~~ MY OTHER COUNTING BOARD IS AN ABACUS! *
*** /#########\ [] Quote original messsage when replying ***
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