Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== running shell scripts ====== Since .sh files need to run inside a unix shell, you can't simply double click them without modifying either the file types settings in windows, or to have the shortcut run 'bash', and then pass your script as an argument to bash. ===== modifying the sh windows file type ===== FIXME * note that this may not be possible in restricted permission environments ===== using shortcuts ===== - create a windows shortcut to the .sh file - modify the properties of the shortcut - in the 'Shortcut' tab, change the target as follows:<code> C:\cygwin\bin\bash.exe -l '/cygdrive/x/path/to/your/script.sh' </code> - you may also want to see the [[docs:bash:pause|bash pause page]] docs/cygwin/running_shell_scripts.txt Last modified: 2008/08/03 00:25by 127.0.0.1