This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windows Shortcut That Runs Cygwin Command


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]