May 13, 2009

If possible , how to run .bat files in Linux ?

I got a file , called run.bat , which obviously runs something , in this case a client , in java code , to login for a game.

Now , since I'm using  Linux , I can't open the run.bat file. Tried to change it to run.sh, no results.

 

Help please ?

 

P.S.: I'm a totally new Linux user , and if this is a silly question , please just *politely* say so.

 

Thanks in advance.  

 

P.S.: My Linux is ( translated from Portuguese -> English , literally ) Linux Magic Box 12. 

Windows Batch files can run on Linux. This article explains how to make Batch...

Windows Batch files can run on Linux. This article explains how to make Batch files run on Linux, natively (http://www.linux.org/threads/running-windows-batch-files-on-linux.7610/).

Like  (2 likes)

a .bat file is specifically a windows scripting file that usually calls...

a .bat file is specifically a windows scripting file that usually calls windows applications within the .bat file. You should be able to open the bat file in any text editor and see what applications it calls to but you won't be able to run that on a Linux machine.

There is a slight chance that you could get the game to run using WINE, http://www.winehq.org/ but a game that uses batch files like that I would say you have a very slim chance.

Like  (0 likes)
Click Here!