matze77 has asked for the wisdom of the Perl Monks concerning the following question:
Hi all!
How could i mask this? Doublequotes are not working ...
system("if not exist "%ALLUSERSPROFILE%\\desktop\\gast_2005.exe" copy \\\\server\\groups\\support\\gast_2005.exe "%ALLUSERSPROFILE%\\desktop"")
The spaces are the problem ...echo %allusersprofile% C:\Dokumente und Einstellungen\All Users
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to quote system () and a path with spaces?
by ikegami (Patriarch) on Nov 10, 2009 at 07:13 UTC | |
by matze77 (Friar) on Nov 10, 2009 at 11:58 UTC | |
|
Re: How to quote system () and a path with spaces?
by cdarke (Prior) on Nov 10, 2009 at 09:06 UTC | |
|
Re: How to quote system () and a path with spaces?
by rovf (Priest) on Nov 10, 2009 at 09:41 UTC |