Hi Frnds, I have a problem with string passed as an argument to a perl script.
I am giving the string \"C:\\PROGRA~1\\INTERN~1\\IEXPLORE.EXE\" as an argument to the cmdtemplate option. and it been taken as C:PROGRA~1INTERN~1IEXPLORE.EXE after parsing it.
what happend to the back slash.??
I'm not on my Windows box atm, but are you saying that you're giving the string: \"C:\\PROGRA~1\\INTERN~1\\IEXPLORE.EXE\" as a command line argument to your program? eg
your-program \"C:\\PROGRA~1\\INTERN~1\\IEXPLORE.EXE\"
Escaping should not be neccessary, just use:
your-program C:\PROGRA~1\INTERN~1\IEXPLORE.EXE -or- your-program "C:\PROGRA~1\INTERN~1\IEXPLORE.EXE" -or- your-program "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
(there are a couple of other wierder variations on the above, but they shouldn't be mentioned in public. =)
All of which are legal, and all of which should pass corectly into your program.
Randy.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>