append date and time to a file

by Ramya 2010-02-17 20:36:31

batch command to append date and time to a file:

To append the date and time to a file in batch script.
cd test
for %%i in (*.*) do ren %%i %%i-%date%-%time%

Tagged in:

989
like
0
dislike
0
mail
flag

You must LOGIN to add comments