Windows Shortcut That Runs Cygwin Command

Eliot Moss moss@cs.umass.edu
Sat Mar 5 02:10:00 GMT 2011


On 3/4/2011 7:38 PM, Panos Katergiathis wrote:
> Hello all. How would i go about creating a shortcut in Windows 7, that
> would run a cygwin-only command along with parameters if required?
> Rsync is the one i wish to run at the moment, but i also have a few
> more in mind like ssh etc.

To run bash (for example) there is a shortcut to c:\cygwin\Cygwin.bat.

The file contains:

@echo off

C:
chdir C:\cygwin\bin

bash --login -i

This should get you started ...  Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list