Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 5, 2009, 12:42 PM   #1
Ruyuk
macrumors newbie
 
Join Date: Mar 2009
Location: USA, I am from Romania
Send a message via AIM to Ruyuk Send a message via Skype™ to Ruyuk
Running .bat on Mac

Ok, this is my problem. I want to play Runescape on a private server which requires me to run a .bat file. Well, Macs don't use run batch files so I was asking for some help on here. I did mostly what this guy did, http://forums.macnn.com/82/applicati...-files-mac-os/
But I still can't get it to work. I downloaded Boxer and did what the people that answered this guys post said. I would like some different directions because mine is somewhat different. Here is what my run.bat file looks like while open in TextEdit..

Code:
@ECHO OFF
title AlienScape
color 81
echo AlienScape Client
echo Edited by AlienScape
EGUIjava -Xmx500m EGUI
Go here to download it and try it yourself ->AlienScape Client V3.1.rar
What should I do?
Also, most importantly, it worked on Parallels Desktop a few days ago, which means yes, I have a Windows XP emulated on my Mac, But after I restarted my computer (Windows only, not Mac and Windows.) it wouldn't work. I clicked run.bat and a box appeared really fast and just disappeared within 2-3 seconds. I did manage to catch a few word such as EGUI and Java between those few seconds.

So, if you don't know how to help me with the first one, then tell me why it won't run on my Parallels anymore.


Thanks!
This is from a different client (Not an older version of AlienScape, mind you.) were the box doesn't disappear automatically.
And I have a feeling that this might be whats happening to my AlienScape client as well.
Ruyuk is offline   0 Reply With Quote
Old Jun 5, 2009, 02:37 PM   #2
MisterMe
macrumors G4
 
Join Date: Jul 2002
Location: USA
Quote:
Originally Posted by Ruyuk View Post
... Well, Macs don't use run batch files so I was asking for some help on here. ...
Although Macs don't run MS-DOS batch files, to say that Macs don't run batch files could not farther from the truth. Macs run AppleScript. The most sophisticated scripting languages are UNIX-based. MacOS X can run any and all of these.

MacOS X natively supports Java. Instead of lamenting the fact that MacOS X is not Windows, try to find a MacOS X solution to your problem.
__________________
Neither a borrower nor a lender be
For loan oft loses both itself and friend
William Shakespeare from Hamlet
MisterMe is offline   0 Reply With Quote
Old Jun 5, 2009, 02:50 PM   #3
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
A bash script would be the easiest route most likely, though I don't know what the EGUIjava command is. Probably related to the code you downloaded. The bash script would look like,
Code:
#!/usr/bin
echo AlienScape Client
echo Edited by AlienScape
EGUIjava -Xmx500m EGUI
The other lines just add extra flare to the window, but shouldn't be necessary.

As far as your Windows issue where the window pops up and closes quickly. Edit the batch file and add a line with the word "pause" (w/o quotes) and save it. This will keep the window from closing until you hit a key so you can see potential error messages.
angelwatt is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
General: MLB at Bat and Location Spoofer xraytech Jailbreaks and iOS Hacks 9 Apr 3, 2013 10:07 AM
AT Bat 13 issues wsarahan iPad Apps 1 Mar 29, 2013 03:08 PM
Apple BT Keyboard - 2 Bat. vs 3 Bat. Version? Tucom Mac Peripherals 3 Dec 8, 2012 05:23 PM
Execute .bat Files OS X 10.8 Silverrune OS X 10.8 Mountain Lion 7 Aug 5, 2012 09:07 PM

Forum Jump

All times are GMT -5. The time now is 03:24 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC