Possible Duplicate:
Executing .bat file

The title says it all.

I need to create batch files and run and test them. I dont have any Windows machine. If there was any cmd.exe emulator in Ubuntu I would have worked on it.

So do you know emulator that can run .bat/.cmd files?

I know I can use vmware, virtualbox-ose. But to use it I need existing Windows which I dont have.


1 Answer 1


Install Wine and you can run:

wine cmd /c mybatch.bat
  • Wow!! I didn't know cmd is somewhere in wines path Feb 15, 2012 at 17:06
  • There's an explorer too. They've ported quite a lot of the core stuff.
    – Oli
    Feb 15, 2012 at 17:09

Not the answer you're looking for? Browse other questions tagged .