Remove 7-Zip's vanilla 7zS.sfx as it is unused
[msysgit/kirr.git] / bin / wordpad
blob7ce7937eef77c045a1ae31653a67a985302db449
1 #!/bin/sh
3 WORDPAD="$(ls {"$PROGRAMFILES/Windows NT","$SYSTEMROOT"}/*/wordpad.exe 2>&- | head -1)"
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