WineHQ

3.2. How to run Wine

You can simply invoke the wine command to get a small help message:

Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit

The first argument should be the name of the file you want wine to execute. If the executable is in the Path environment variable, you can simply give the executable file name. However, if the executable is not in Path, you must give the full path to the executable. For example, given a Path of the following:

Path="c:\windows;c:\windows\system;e:\;e:\test;f:\"

You could run the file c:\windows\system\foo.exe with:

$ wine foo.exe

However, you would have to run the file c:\myapps\foo.exe with this command:

$ wine c:\\myapps\\foo.exe

(note the backslash-escaped '\') or:

$ wine ~/.wine/drive_c/myapps/foo.exe

For details on running text mode (CUI) executables, read the section below.