Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

1 Answer 1

up vote 5 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.