Re: Application will only run when executed from its directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Short of writing a shell script, the easiest way to start an
executable file in its directory is to run

$ wine start /unix ".wine/drive_c/Scan/program.exe"

When invoked this way, wine will try to start the file the same as if
it were double-clicked in windows explorer. It will start from the
path containing the exe and invoke it with its full dos path.

This is the way file browsers invoke Wine. If that worked, this should
also work.

The drawback is that you cannot pass arguments to the executable this
way; for that you would need a shell script.

Vincent Povirk


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux