Hello,
I want to create a file named "new text document.txt" in the folder %tv%
using a batch file ( *.bat
). This is my batch file:
set tv=D:\prog\arpack96\ARPACK\SRC
cd "%tv%"
@CON >> "new text document.txt"
set tv=
Although I can really create the file in %tv%
, but when I run the above batch file, I will get an error message saying
' ' is not recognized as an internal or external command, operable program or batch file.
Is there anyway to get rid of this error message? Or I am creating the file using the wrong command?