When i try to run a jar file ( Java ) which actually runs via a dos executable file,which acquires the MAC address of the NIC card and creates a request file.
Did your computer fail to open a BAT file? We explain what BAT files are and recommend software that we know can open or convert your BAT files.What is a BAT file?
The BAT file format is a program executable file type. A .bat file is also called a batch file because it packages a set of codes into one file. These .bat files were used primarily for MS DOS, while a version of this file format for Unix is called a shell script. IBM mainframe computers also used a version of these .bat files, which were called EXEC files.The codes that are stored in a .bat file are normally command line instructions. These may include codes for activating other applications and files in the same computer or in the same network. Take note that BAT files from suspicious sources may contain malicious code, and these are usually transmitted via email.A simple text editor like Notepad or Apple Text Edit can be used to open and view the data in these .bat files. These text editors can also be used to create these BAT files.
Software that will open, convert or fix BAT files
Try a universal file viewer
Try a universal file viewer like Free File Viewer. It can open over 200 different types of files - and most likely yours too. Download Free File Viewer here.
About File Extension BAT
File.org aims to be the go-to resource for file type- and related software information. We spend countless hours researching various file formats and software that can open, convert, create or otherwise work with those files.
If you have additional information about the BAT file format or software that uses files with the BAT suffix, please do get in touch - we would love hearing from you.

Bat Download File From Internet
How can we run a .bat file on Mac OS X?
Has anyone done it?
Wuffersmigrated from stackoverflow.comDec 6 '10 at 22:28
This question came from our site for professional and enthusiast programmers.
4 Answers
The equivalent to 'batch files' on OS X are 'shell scripts' (since OS X is derived from Unix). These are written in much the same way, as a text file with a list of commands to run. For example:
Greg HewgillGreg Hewgill
Adobe Reader For Mac
It depends on how complicated your requirements are. The fact that you are even asking this questions implies that you do not have extensive knowledge of Mac so you'll probably do something simple. If you're not a unix geek there'll be a steep learning curve with shell scripts.Have a look at automator and see if it will do what you want. You can read about it on Wikipedia or type 'Automator' into that help thingie you find on the mac menubar.
Mac OSX is BSD based no? You may be able to use different shell like/emulator like doscmd
Preet SanghaAcsm File Reader For Mac
Preet SanghaAdobe Reader 11 For Mac
If you must, an effective (but heavyweight) way to run a .bat file on various Unix flavours, including OSX, is with Wine (The WINdows Emulator) : https://www.winehq.org/
Then you can run .bat scripts via:$ wine cmd /c MyScript.bat
Further information here: http://www.linux.org/threads/running-windows-batch-files-on-linux.7610/