Monday, October 1, 2012

WINDOWS - create new file using "echo" and copy con

echo

echo echo this is a test > test.bat

OR

echo @echo this is a test > test2.bat

The @echo so that you do not see the command being execute

copy con

copy con test.txt

to exit ^z






No comments:

Post a Comment