https://unix.stackexchange.com/a/76641/674
Create a short shell script to run your wine program in this directory, i.e.
~/bin/textaloud
:#!/bin/bash cd "~/.wine/drive_c" exec wine "~/.wine/drive_c/Program Files/TextAloud/TextAloudMP3.exe" "$@"
And give it execute permission.
chmod +x ~/bin/textaloud
There are three things to note about the above script:
- The
cd
path is where the program is going to be run (in which directory). Some programs may require you to run them on a specific directory. If you have trouble with this, set there that directory (usually the same where the executable is located). You may unwant this line in some cases.
In what cases may some programs require you to run them on a specific directory in Linux?
Thanks.