|
Re: copy file to folder that has spaces in name
|
Derek Parnell
|
Jun 25, 2008 12:12 PDT
|
posted by: Derek Parnell <ddparnell at bigp?nd.?om>
llamedoso wrote:
| |
Hi,
I want to do the following:
system("copy c:\\mystuff\\afile.txt c:\\windows\\documents and settings\\administrator\\desktop")
This fails because of the spaces in documents and settings.
Have searched the forum without any luck.
Is there a solution?
Thank you
|
Does this work ????
system("copy \"c:\\mystuff\\afile.txt\" \"c:\\windows\\documents and settings\\administrator\\desktop\"")
--
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell
|
|
 |
|