1.

Solve : how to add "enter" in batch file??

Answer»

I code a batch file to get TODAY date as bellow:
date >> out.txt
I need to add "enter" after it.
How to code "enter" in batch file?
Not sure if you want the date in a file or a BLANK line (enter):

For the date: date /t >> out.txt

For a blank line: echo. >> out.txt

Note: the /t switch works for time also.

Hope this HELPS. Date/t is WORKING GREAT!
Thank you.date/t just what I need!
Thank you!!!



Discussion

No Comment Found