Hi all!
I have a very strange problem with using ExecShell.
My code is very simple:
Section
ExecShell "open" "iexplore.exe" cnn.com
SectionEnd
For some reason this command opens two windows with the same URL.
I need just one.
What I'm doing wrong?
Please advise me.
Thank you!!!
Igor.
Two windows are opened with ExecShell
7 posts
There are a lot of problems with this code.
The correct way to open a website is: ExecShell "" "http://example.com"
You are trying to force IE, you should probably not be doing this and if you have to, at least use a full URL with a protocol prefix like "http://"!
The correct way to open a website is: ExecShell "" "http://example.com"
You are trying to force IE, you should probably not be doing this and if you have to, at least use a full URL with a protocol prefix like "http://"!
Hello Anders,
Thank you for your quick respond.
Whatever I'm doing , I've got the same result:two windows opened with the same URL.
ExecShell "" "http://cnn.com" - doesn't work as well.
I need to open the URL link in IE browser when user clicks on Finish button on the finish page.
Is there any work around I can use to get this goal?
Please let me know.
Thank you so much.
Igor.
Thank you for your quick respond.
Whatever I'm doing , I've got the same result:two windows opened with the same URL.
ExecShell "" "http://cnn.com" - doesn't work as well.
I need to open the URL link in IE browser when user clicks on Finish button on the finish page.
Is there any work around I can use to get this goal?
Please let me know.
Thank you so much.
Igor.
I've used this code example :
and I've got the same result with two windows opened.
But this code doesn't use ExecShell .
and I've got the same result with two windows opened.
But this code doesn't use ExecShell .
There could be a configuration problem on your machine. Try it on another machine...
I've got the same result on another PC.
When I execute in MS cmd : Start iexplore http://cnn.com
I have only one window opened with the URL above,
but if I execute ExexShell in the installer it opens two windows.
I've found a work around to create a bat file with the command:
Start iexplore http://cnn.com
and execute it by nsExec::Exec
When I execute in MS cmd : Start iexplore http://cnn.com
I have only one window opened with the URL above,
but if I execute ExexShell in the installer it opens two windows.
I've found a work around to create a bat file with the command:
Start iexplore http://cnn.com
and execute it by nsExec::Exec
I have never heard of this issue before. What is your Windows version? IE version?