1 2 3 4 5 6 7 8 9
!#/usr/bin/bash if [ $# -eq 0 ]; then echo "Please specify a file to open." else args="$(cygpath -w $@)" /path/to/notepad++.exe $args fi