Results 1 to 6 of 6
Thread: How to run .bat files with Wine?
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
01-16-2008 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 20
How to run .bat files with Wine?
Hello,
I am trying to run a windoze program with wine, but it is not a .exe file, but rather a .bat file. I tried
So I triedCode:wcmd bash: wcmd: command not found
This window popped up but disappeared immediately, and the terminal was done running it! What is going on, and how do I fix it?Code:wineconsole
Thanks
-
01-16-2008 #2Just Joined!
- Join Date
- Aug 2006
- Posts
- 63
cmd, not wcmd
It's called cmd now, not wcmd.
-
01-22-2008 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 20
I tried
so I searched for all files with "cmd" in the name, and got about 400. So after looking through the list, I decided to tryCode:# cmd program_name.bat bash: cmd: command not found
So what is a "segmentation fault?"Code:# /usr/lib/wine/cmd.exe.so program_name.bat Segmentation fault
-
01-22-2008 #4Just Joined!
- Join Date
- Aug 2006
- Posts
- 63
Try this
First off, never run windows programs as root,
it's not safe! Only run them as a non-privileged user
It looks like 'cmd' isn't installed so you can run it
directly from the commandline, but should be able to do
wine cmd foo.bat
As for your other question, see
Segmentation fault - Wikipedia, the free encyclopedia
It's a long name for 'crash'.
-
01-22-2008 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 9
Hope this link would be useful:
Using Microsoft C++ Toolkit on Linux
-
01-11-2009 #6Just Joined!
- Join Date
- Jan 2009
- Posts
- 1
Try this
cd ~/.wine/drive_c/windows/system32/
and then "wine cmd.exe" then try to run your batch file from there,
I run debian so your directories might be a bit different but you get the idea


