Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

is their an equivelant to .bat on windows?


Post Reply New Thread Subscribe

 
Thread Tools
krrose27

 
Member Since: Apr 25, 2007
Posts: 15
krrose27 is on a distinguished road

krrose27 is offline
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?
QUOTE Thanks
mathogre

 
mathogre's Avatar
 
Member Since: Jan 20, 2007
Location: Oakton, VA USA
Posts: 3,269
mathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant future
Mac Specs: White MacBook Intel C2D 2.2GHz, 2G, 250G, SD, Leopard.

mathogre is offline
Quote:
Originally Posted by krrose27 View Post
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.

Evil Math Ogre Kgh-Ra
Integrate me. Differentiate me.
You can't hurt me. I'm e^x. Ha ha ha!

Homepage | Gallery
I was on the M-F honor roll for July 2007.
QUOTE Thanks
Thyamine

 
Thyamine's Avatar
 
Member Since: Apr 23, 2007
Location: Coatesville, PA
Posts: 377
Thyamine will become famous soon enough
Mac Specs: MBP 15", 2.33 GHz, 2Gb

Thyamine is offline
And let me add that unix/linux are case sensitive. Something that Windows is not. So make sure names have the correct case.
QUOTE Thanks
opus_az

 
opus_az's Avatar
 
Member Since: Dec 06, 2006
Posts: 275
opus_az has a spectacular aura about

opus_az is offline
There's also applescript.

iMac, MB, MB Air, nano
QUOTE Thanks
walmartconnect

 
walmartconnect's Avatar
 
Member Since: Oct 13, 2006
Location: Blacksburg, VA
Posts: 724
walmartconnect is a jewel in the roughwalmartconnect is a jewel in the roughwalmartconnect is a jewel in the rough
Mac Specs: 13'' Macbook w/ 2Ghz Core Duo, 2GB DDR2, 250GB HD, 10.5.4. iPod Touch.

walmartconnect is offline
If you're trying to execute a batch of pre-made operations, perhaps a work flow with Automator could help you out as well.
QUOTE Thanks

Post Reply New Thread Subscribe


« New-User Questions | Am I bad? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Mac user in a Windows world - Issues to be aware ??? gunavardhan Running Windows (or anything else) on your Mac 1 01-18-2007 11:19 AM
Windows 2003 File Server & Quark kegwell OS X - Operating System 0 01-15-2007 02:35 PM
Windows Tweaks and Security PowerBookG4 Running Windows (or anything else) on your Mac 5 07-07-2006 12:31 AM
Windows apps without Windows coltssaturday Schweb's Lounge 8 06-30-2006 06:12 PM
Windows XP on my mac natey Switcher Hangout 5 03-14-2004 01:00 AM

All times are GMT -4. The time now is 08:01 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?