is their an equivelant to .bat on windows?

Joined
Apr 25, 2007
Messages
15
Reaction score
0
Points
1
is their an equivelant to .bat on windows?

Like an extinsion which u name a textfile to run commands from it?

Like the .bat fie on windows?
 
Joined
Jan 20, 2007
Messages
3,269
Reaction score
270
Points
83
Location
Oakton, VA USA
Your Mac's Specs
White MacBook Intel C2D 2.2GHz, 2G, 250G, SD, Leopard.
is their an equivelant to .bat on windows?

Like an extinsion which u name a textfile to run commands from it?

Like the .bat fie on windows?
Welcome to the wonderful world of Unix.

1. Create a text file with the commands you want to execute.

2. Make the file executable. (chmod 755 <filename>)

3. Run it. (./<filename>)

That's just the beginning. However, you *will* need to spell things correctly. If you don't, OS X at the command line (BSD Unix) will do EXACTLY what you tell it to do, whether you intended it or not. Unix is extremely powerful and terribly unforgiving.
 
Joined
Apr 23, 2007
Messages
377
Reaction score
4
Points
18
Location
Coatesville, PA
Your Mac's Specs
MBP 15", 2.33 GHz, 2Gb
And let me add that unix/linux are case sensitive. Something that Windows is not. So make sure names have the correct case.
 
Joined
Oct 13, 2006
Messages
724
Reaction score
60
Points
28
Location
Blacksburg, VA
Your Mac's Specs
13'' Macbook w/ 2Ghz Core Duo, 2GB DDR2, 250GB HD, 10.5.4. iPod Touch.
If you're trying to execute a batch of pre-made operations, perhaps a work flow with Automator could help you out as well.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top