WINE LOOKS IN WRONG DIRECTORY FOR REQUIRED FILES

Questions about Wine on Linux
Locked
SERCHEF
Newbie
Newbie
Posts: 2
Joined: Sat Nov 09, 2024 1:35 pm

WINE LOOKS IN WRONG DIRECTORY FOR REQUIRED FILES

Post by SERCHEF »

WHEN I LAUNCH A PROGRAM FROM COMMAND LINE I GET A MISSING FILE ERROR...
(TYPE IN TERMINAL wine /folder/file.exe --> WINDOW OPENS SAYING "Could not find the requested file: file.dll" or "Could not open file: /home/user/file.data")

WINE SEEMS TO BE LOOKING IN A DIFFERENT DIRECTORY THAN THE ONE WITH THE EXECUTABLE FOR FILES THAT ARE MEANT TO GO ALONG WITH IT...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE LOOKS IN WRONG DIRECTORY FOR REQUIRED FILES

Post by dimesio »

Did you cd to the directory containing the exe before you tried to run it? You need to either do that, or use wine start. https://gitlab.winehq.org/wine/wine/-/w ... mmand-line
SERCHEF
Newbie
Newbie
Posts: 2
Joined: Sat Nov 09, 2024 1:35 pm

Re: WINE LOOKS IN WRONG DIRECTORY FOR REQUIRED FILES

Post by SERCHEF »

dimesio wrote: Sat Nov 09, 2024 6:57 pm Did you cd to the directory containing the exe before you tried to run it?
CD TO DIRECTORY WORKED...THOUGHT REFERENCING THE PATH TO THE .EXE WAS THE SAME...THANKS
Locked