What does ECHO.> Mean in a batch file?
2 answers
>
redirects the command output earlier.
echo .>c:\file.txt
prints point in file c:\file.txt
, overwriting its content (so it will only contain point)
I think you were wrong. Typically echo.>file.txt
used to create an empty file (or delete content if the file exists). (Note the missing space)
+1
source to share