in reply to Re: win32 parenthesis system weirdness
in thread win32 parenthesis system weirdness
Just by adding a space after the first single quote system() suddenly works. What is the reason for this?my $fn = '"C:\img\del me\three (3\00000253.jpg"'; system($fn); #Doesn't work my $fn = ' "C:\img\del me\three (3\00000253.jpg"'; system($fn); #Works
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: win32 parenthesis system weirdness
by ikegami (Patriarch) on Dec 04, 2009 at 07:49 UTC | |
|
Re^3: win32 parenthesis system weirdness
by BrowserUk (Patriarch) on Dec 04, 2009 at 06:46 UTC | |
by ldln (Pilgrim) on Dec 04, 2009 at 10:08 UTC | |
by BrowserUk (Patriarch) on Dec 04, 2009 at 11:47 UTC | |
by ldln (Pilgrim) on Dec 04, 2009 at 12:03 UTC | |
|
Re^3: win32 parenthesis system weirdness
by Anonymous Monk on Dec 04, 2009 at 06:20 UTC | |
|
Re^3: win32 parenthesis system weirdness
by Anonymous Monk on Dec 04, 2009 at 06:25 UTC | |
by ikegami (Patriarch) on Dec 04, 2009 at 07:55 UTC |