How to run cygwin on boot
Thu Apr 5 19:24:00 GMT 2012
On 2012-04-05, marco atzeri wrote:
> On 4/5/2012 9:41 AM, J.V. wrote:
> >I need to run a .bat file on startup that will launch a cygwin bash script.
> >I can put the .bat file in the folder "startup" to connect some network
> >drives and then I want to launch a bash script.
> >Can this be done?
> make a copy of cygwin.bat that is in the the cygwin root
> and use
> bash -c "your script"
> instead of
> bash --login -i
You may want to keep the "--login" option, e.g.,
bash --login -c "your script"
Otherwise you will not get important parts of the Cygwin environment
such as PATH.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin