: Hi ,
: I actually wanted to know that if i am writing a path for copy
: command , its not working
: Copy C:\Program Files\Projects\Input\1.IN 2.In
: is it because of space between program and files ?? how should i
: write that in a batch file
: and also i would like to know if i wanna run a .exe file writing a
: command in batch file how should i write that .
That's indeed due to the space in "program files". Whenever there's an "illegal" character in a pathname, use quotes to ensure that the path is seen as 1 part:
Copy "C:\Program Files\Projects\Input\1.IN" 2.In
All batch files are simple text files. Any executable, which can append lines to a text file, can append lines to a batch file.