How to start IE with a URL in a CYGWIN session How to start IE with a URL in a CYGWIN session windows windows

How to start IE with a URL in a CYGWIN session


Just:

cygstart "http://www.google.com"

where google.com is your desired URL.

cygstart launches the default windows program for a path. So this way you get the user’s preferred web browser...


cygstart /cygdrive/c/Programme/Internet\ Explorer/iexplore.exe "www.google.at"

path may change according to your installation


Cygwin's shell doesn't know how to execute a batch script. Use cygwin to start cmd.exe, and let that run the batch file. E.G.

/cygdrive/c/Windows/System32/cmd.exe /c "c:\myscript.bat"

Edit: if you'd rather run explorer directly rather than relying on a batch file, the following works properly for me:

$ "/cygdrive/c/Program Files/Internet Explorer/iexplore.exe" "http://windowsxpbox:3000/flex/flexUnitTests?debug=true#automated=true"