hd2u-1.0.3
[msysgit.git] / bin / wordpad
blob9aba8f96f82af7e5bf3fcd9236f8851869370ef2
1 #!/bin/sh
3 WORDPAD=$(echo "$PROGRAMFILES/Windows NT"/*/wordpad.exe)
5 test $# = 1 &&
6 case "$1" in
7 \\*|/*|?:*) ;; # do nothing
8 *) set "$(pwd -W)/$1";;
9 esac
11 test -x "$WORDPAD" && exec "$WORDPAD" "$@"
13 echo "Could not launch $WORDPAD"
14 exit 1