When adding to a file using Windows command commands, how to add immediately after the next word in the file?
For example, these commands
echo here is the date of > c:\arun.txt
date /t >> c:\arun.txt
write the following text to the arun.txt file:
here is the date 03/29/2010
But I want the result to be like this:
here is the date 29-03-2010
How to avoid carriage returns when adding?
source
share