in reply to System command clips off last part of local url when folder name has a space in it
Use the list form of system,
That bypasses the shell, so the space doesn't confuse command parsing.my $url = 'C:/Code/Perl/Phi Kap/temp.html'; system 'start', $url;
Alternatively, you could construct the string argument to quote $url after interpolation, probably with qq().
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: System command clips off last part of local url when folder name has a space in it (!list)
by tye (Sage) on Aug 16, 2004 at 16:37 UTC |