Click here to Skip to main content
15,906,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to write this line to a file:
copy "Copy of stores.txt" stores.txt
Please, help.
Posted

Use:

"copy \"Copy of stores.txt\" stores.txt"


That might help you: http://msdn.microsoft.com/en-us/library/h21280bw%28VS.80%29.aspx[^]
 
Share this answer
 
another option:
C#
...WriteLine(@"""Copy of stores.txt""");
 
Share this answer
 
Comments
Jordy "Kaiwa" Ruiter 7-May-10 4:25am    
I didn't know that one but it kind of scares me :O

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900