I wrote and made the following script executable (chmod +x MyScript.sh):
echo Starting script to launch prog-name.
cd "/home/MyUserName/.wine/drive_c/Program Files (x86)/Prog-Name"
wine prog-name.exe
When I point a terminal at the subdirectory containing the script I type:
./MyScript.sh
And Ubuntu answers:
Starting script to launch prog-name
.
./MyScript.sh: line 2: cd: /home/MyUserName/.wine/drive_c/Program Files
: No such file or directory
Changing the double quotes on line 2 to single ones has no effect. If I put the entirety of line 2 between single quotes, Ubuntu answers:
./MyScript.sh: line 2: cd: /home/MyUserName/.wine/drive_c/Program Files (
I don't see this as being a Wine issue. What the devil is going on? Kudos for any and all help.
Bookmarks