Is it required that the .exe must be in the ../drive_c folder ?

Questions about Wine on Linux
Post Reply
Agent86
Newbie
Newbie
Posts: 1
Joined: Mon Nov 11, 2024 5:20 pm

Is it required that the .exe must be in the ../drive_c folder ?

Post by Agent86 »

Hi,
I have been using .exe files in /home/user/Documents folder on linux and wondered if there is any problem with this.
Does it matter where they are run from with "wine my.exe" ?

Please advise and confirm. Thanks
desessarts
Level 4
Level 4
Posts: 139
Joined: Wed Oct 04, 2023 7:57 am

Re: Is it required that the .exe must be in the ../drive_c folder ?

Post by desessarts »

IMHO there is no problem

it is safe to launch it with

Code: Select all

wine my.exe
and better than

Code: Select all

wine dir1/dir2/my.exe
which may need

Code: Select all

wine start dir1/dir2/my.exe
see this doc for starting Captvty

http://neo-net.fr/forum/viewtopic.php?f ... fa902b3a25

the file Captvty.exe is in .captvt2 or .captvty3

while you have the C directory in .win32 or .win64

and it works fine, a lot of people have used this doc, with various Linux, such as Debian Ubuntu, Fedora, Mageia, Slackware, Arch...
User avatar
DarkShadow44
Level 9
Level 9
Posts: 1325
Joined: Tue Nov 22, 2016 5:39 pm

Re: Is it required that the .exe must be in the ../drive_c folder ?

Post by DarkShadow44 »

Normally it doesn't matter, although for some programs (like chromium) it does.
Post Reply