in reply to windows command line problem?
The usual advice would be to use
to avoid command-line shell misinterpretation risks. Unfortunately, that trick doesn't work in Win32 and Perl doesn't (yet -- I still have hope) make it even "almost work".exec( "c:/program files/Internet explorer/IEXPLORE.EXE", $url, );
I'd go with: $command = qq("C:/Program Files/Internet Explorer/IEXPLORE.EXE" "$url"); because you need quotes around the URL because & has meaning to the shell just like the spaces do (which is what forced you to put quotes around the path to IE).
- tye (but the shell thinks I'm Tye)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: windows command line problem?
by xafwodahs (Scribe) on Oct 16, 2002 at 20:01 UTC | |
by tye (Sage) on Oct 16, 2002 at 20:41 UTC |