Thursday, March 23, 2006

use a batch script from cygwin

Yes you can start a batch script from cygwin. What did I use this for? Well, it's usefull to restart a windows service for example with the DOS command
net stop service_name
net start service_name
You can then login remotely with ssh in your cygwin shell and restart the windows service or start any command you can start from dos, just write the commands in a .batch script.