in reply to Re^3: System command clips off last part of local url when folder name has a space in it
in thread System command clips off last part of local url when folder name has a space in it
my $urlWithSpaces = 'C:/Code/Perl/Phi Kap/temp.html'; start qq["$url"];
Where are you getting the bareword 'start' to do something? You also are using two difference variable names. I just get
syntax error at - line 2, near "start qq["$url"]"
Perhaps you meant:
my $url = 'C:/Code/Perl/Phi Kap/temp.html'; system( qq[start "Title" "$url"] );
(Note the inclusion of "Title" to tell start that $url isn't a window title desptie it being inside of double quotes.)
Or perhaps you left off some incantation that makes the code you wrote work?
(Updated)
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: System command clips off last part of local url when folder name has a space in it (start?)
by BrowserUk (Patriarch) on Aug 16, 2004 at 20:30 UTC |