Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start IE with a URL in a CYGWIN session

I have a windows xp machine set up with Cygwin running the ssh service, on that machine I have a bat script that opens up IE using the following command "C:\Program Files\Internet Explorer\iexplore.exe" "http://windowsxpbox:3000/flex/flexUnitTests?debug=true#automated=true".

The script runs fine when I'm calling it locally on that xp machine, I am trying to call that same bat script remotely from another machine and achieve the same result but with IE opened on the remote machine, my problem is when the bat script is called remotely nothing happens on the remote machine.

like image 623
Chiwai Chan Avatar asked Jul 08 '09 04:07

Chiwai Chan


People also ask

How do I change directory in Cygwin terminal?

To change directory, you can use cd command with the target directory parameter. The target directory can be expressed in a DOS-like manner (d:/ or d:/Ogo1. 2). Note that drives in Cygwin are treated as directories, and the usage of forward slash in place of the DOS backslash (d:/Ogo1.


1 Answers

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...

like image 84
andrewdotn Avatar answered Nov 07 '22 20:11

andrewdotn