xafwodahs has asked for the wisdom of the Perl Monks concerning the following question:
Situation: * Win2K * ActiveState Perl
I'm trying to write a very simple script that will generate a URL with form information and open up Internet Explorer with that URL. (the script is below)
Everything works, except that the "&skip=5" does not show up in internet explorer no matter what I try. Putting it in quotes, single quotes, preceding with a backslash, etc. There is some kind of problem with windows/perl/& that I don't get.
here is the script (or one version of it) - if you want to test it, you should go to the website first and get the appropriate cookies setup for your location.
---------------------------------------------------- $date = sprintf("%04d%02d%0d", (localtime)[5]+1900, (localtime)[4]+1, (localtime)[3] ); $url = "www.moviefone.com/showtimes/closesttheaters.adp?date=$date\&sk +ip=5"; $command = "\"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE\" $ur +l"; print $command; exec ($command); ----------------------------------------------------
Edit by tye to preserve formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: windows command line problem?
by tye (Sage) on Oct 16, 2002 at 17:12 UTC | |
by xafwodahs (Scribe) on Oct 16, 2002 at 20:01 UTC | |
by tye (Sage) on Oct 16, 2002 at 20:41 UTC | |
|
Re: windows command line problem?
by BrowserUk (Patriarch) on Oct 16, 2002 at 17:07 UTC | |
by xafwodahs (Scribe) on Oct 16, 2002 at 20:02 UTC | |
|
Re: windows command line problem?
by zigdon (Deacon) on Oct 16, 2002 at 17:02 UTC | |
|
Re: windows command line problem?
by Mr. Muskrat (Canon) on Oct 16, 2002 at 22:28 UTC |