[Wine] Running an exe from the command line

johnaaronrose wineforum-user at winehq.org
Wed Dec 21 11:20:04 CST 2011


I bring up the command line (i.e. MS-DOS prompt) by double clicking cmd.exe in Wine's Windows\System32 folder. I key 'path' and I see the path i.e. PATH=C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\Program Files\Java\jdk1.6.0_26\bin

I try to run java.exe (which is in the last folder) and it says 'File not found'. Therefore, it seems that 'PATH' does not work the same as in Windows i.e allows the finding & execution of a program which is held in any folder specified by the 'PATH'. Is this known behaviour? If so, is there a workaround?

PS Keying C:\Program Files\Java\jdk1.6.0_26\bin\java.exe finds java.exe & runs it.







More information about the wine-users mailing list