How to add command line arguments to command line arguments in Windows shortcut?

Posted by Pawin on Super User See other posts from Super User or by Pawin
Published on 2012-11-26T20:00:07Z Indexed on 2012/12/17 23:05 UTC
Read the original article Hit count: 292

I know I can add a command line argument/option to a shortcut this way; for example:

"C:\Program Files\Internet Explorer\iexplore.exe" www.a.com

So IE will connect to a.com when it starts up. What I would like to do is to get IE connecting to a.com when I call it through another program like the following:

C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.151 "C:\Program Files\Internet Explorer\iexplore.exe" www.a.com

This does not work. IE starts up but doesn't go to a.com. It seems like the argument is either ignored or is understood as an argument of ForceBindIP instead (I'm not sure).


What I am trying to do is to create 2 IE shortcuts such each of them binds one IE window to one NIC and one particular website. So adding the www.a.com etc in its startup list won't help. OS is Windows 8.

Apologize if this has been asked and answered before. Please suggest keywords for searching if that's the case.

© Super User or respective owner

Related posts about Windows

Related posts about command-line