Find the answer to your Linux question:
Results 1 to 3 of 3
I'm in my Wine directory with the .exe before my eyes. However, when I "wine [exe name]", I get this message: wine: cannot find L"C:\windows\system32\[exe name] I know the program ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    1

    Wine cannot find .exe even though I'm in the directory


    I'm in my Wine directory with the .exe before my eyes.

    However, when I "wine [exe name]", I get this message:

    wine: cannot find L"C:\\windows\\system32\\[exe name]

    I know the program works because I launched it shortly after installing it via wine. I take it wine believes the .exe file is in a different folder and stubbornly keeps trying to launch it from that imaginary folder.

    Can anyone provide any fixes?

    Thanks in advance!

    c

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Have you tried launching with full path instead of from within the directory where the .exe is? Something like:
    Code:
    wine /home/castiglione/.wine/drive_c/Program\ Files/MyGameFolder/mygame.exe
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    464
    Or use "wine ./filename.exe". By default, Linux does not search the current directory, only the path, so you have to specify the current directory with "./".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •