PDA

Click to See Complete Forum and Search --> : [RESOLVED] command line switch running iE


vbbit
Aug 18th, 2008, 11:50 AM
Hi, I am working on passing a command line switch to IE, for example,

C:/programfiles/internet explorer/iexplore.exe http://test.jsp/user=%user%

Everytime I do that with run, it works fine, but when I do that with my code to launch the IE to that site, it gives me Internal server error. Is there an escape and due to the % sign?

RobDog888
Aug 18th, 2008, 03:10 PM
The macro "%user%" may not be evaluating depending on your quote wrapping.

Shell ""C:/programfiles/internet explorer/iexplore.exe http://test.jsp/user="" & %user%, vbNormalFocus

Maybe somehting like that will un-encapsulate it from your string.