DOS: Open Text File and have the Cursor @ the End of File
Posted: 02 Aug 2011 19:07
Hi,
Thank you for your help.
Had to build a PC to use 'cuz My Old PC when "Ka-put!"
So, Have to use Vista instead of XP.
Vista does NOT allow (Well, THIS PC, at least) to use .LOG
at the beginning of a Text file to Time and Date Stamp
the file upon opening...
SO, I wrote a Batch File to do this FOR Me,
but, can't get the file to open w/ the Time and Date stamp,
having the Cursor at the End of the File.
I've attached the code here for the Example of what I'm doing.
Any Ideas on what I'm doing wrong or what I'm missing?
Thank You VERY MUCH for Your Help in Advance!
Thanks!
Thank you for your help.
Had to build a PC to use 'cuz My Old PC when "Ka-put!"
So, Have to use Vista instead of XP.
Vista does NOT allow (Well, THIS PC, at least) to use .LOG
at the beginning of a Text file to Time and Date Stamp
the file upon opening...
SO, I wrote a Batch File to do this FOR Me,
but, can't get the file to open w/ the Time and Date stamp,
having the Cursor at the End of the File.
I've attached the code here for the Example of what I'm doing.
Any Ideas on what I'm doing wrong or what I'm missing?
Thank You VERY MUCH for Your Help in Advance!
Thanks!
Code: Select all
ECHO %DATE% %TIME% >> FileName.txt
START filename.txt &GOTO:EOF
REM &GOTO:EOF and GOTO:EOF or GOTO EOF does not work