Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by Uri Herrera, Oli Feb 15 '12 at 16:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 7 down vote accepted

Install Wine and you can run:

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.