I'm new to the Mac platform. May I know if there is any possibility to run MS DOS commands in Mac?
Is there any package or script available to do this?
feedback
|
|
Natively? No. Mac OS X is essentially based on Unix and therefore has nothing or little in common with MS DOS. You therefore can't just run a batch file or typical DOS commands on Mac OS X. OS X uses the famous bash as its default shell and – with Terminal.app – offers a typical Terminal emulator similar to those found in all graphical Linux/Unix distributions. If you're new to Mac, and you need to write shell scripts to achieve a certain functionality, you might want to learn bash, e.g. by reading the Advanced Bash Scripting Guide. Apple also has their own scripting language called AppleScript, which also allows user interface scripting in a very straightforward "natural" way. If you need DOS-like functionality, there are two options:
| |||||||||||
feedback
|