PDA

View Full Version : Execute .bat Files OS X 10.8




Silverrune
Aug 2, 2012, 04:11 PM
The Batch file in question executes a process of sorting to find select texture files for Skyrim. It can be found here: http://skyrim.nexusmods.com/mods/20801/#
I was wondering if there was anyway to execute the batch file in question?



GGJstudios
Aug 2, 2012, 04:12 PM
The Batch file in question executes a process of sorting to find select texture files for Skyrim. It can be found here: http://skyrim.nexusmods.com/mods/20801/#
I was wondering if there was anyway to execute the batch file in question?
.bat files are Windows batch files and will not run on Mac OS X.

Silverrune
Aug 2, 2012, 04:17 PM
.bat files are Windows batch files and will not run on Mac OS X.
Is there anyway to convert it to a terminal executable file?

meme1255
Aug 2, 2012, 04:18 PM
Could you send me / post here (content of) the *.bat file? :)

GGJstudios
Aug 2, 2012, 04:18 PM
Is there anyway to convert it to a terminal executable file?
No, as the command structure is completely different between Windows and Mac OS X. If the commands even have Mac equivalents, you'd have to create new commands for the Mac. Nothing will "convert" a .bat file to a usable format for Macs.

meme1255
Aug 2, 2012, 04:21 PM
Post the bat here, I'll not download whole texturepack which is useless for me.

Alameda
Aug 2, 2012, 05:15 PM
No, as the command structure is completely different between Windows and Mac OS X. If the commands even have Mac equivalents, you'd have to create new commands for the Mac. Nothing will "convert" a .bat file to a usable format for Macs.Well... it could be converted. It would have to be re-written, of course, but depending upon what it does, it may not be any problem. If he could simply paste in the contents of the .bat file here, we could determine whether it can be converted or not.

In general, Mac OSX Bash scripts can be a lot more powerful than Windows .bat files, but if the .bat file calls a Windows binary which has no equivalent, then we can't do much.

Silverrune
Aug 5, 2012, 09:07 PM
Post the bat here, I'll not download whole texturepack which is useless for me.

The texture pack isn't in the file download, you have to download them separately and insert them yourself.

----------

Well... it could be converted. It would have to be re-written, of course, but depending upon what it does, it may not be any problem. If he could simply paste in the contents of the .bat file here, we could determine whether it can be converted or not.

In general, Mac OSX Bash scripts can be a lot more powerful than Windows .bat files, but if the .bat file calls a Windows binary which has no equivalent, then we can't do much.

Ya.... It's kind of long. To long to post actually.