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.
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.
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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With