Computing.Net > Forums > Mac > BAT files in MAC

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

BAT files in MAC

Reply to Message Icon

Name: Ram
Date: September 6, 2001 at 10:44:05 Pacific
Comment:

I recently developed an application that runs on running a .bat file in Windows. The problem is though I have the client software for MAC os (it just installs a directory structure, there are no registry entries), I dont know how to get the bat files to run in a MAC operating system as it recognizes them as simple text files. How can I run those files in a MAC environment? I guess what I am trying to ask is how can I run command line commands or its equivalent in MAC OS



Sponsored Link
Ads by Google

Response Number 1
Name: Daniel
Date: September 9, 2001 at 15:11:56 Pacific
Reply:

Depends on what version of the OS you're running. If you're running OS 9 or lower, there is no way to execute a batch file. If you're running OSX, you have to put all the commands in a text file, name it whatever you want, and (I hope this works with OSX) chmod +x [name of file]. Then type ./[name of file] to execute. You will have to convert the batch file to OSX shell commands, though, because a lot of DOS commands don't work under OSX.

I'm basing this on my experience with LINUX, I haven't used OSX before. It seems to have a similar interface, though, so that should work.


0

Response Number 2
Name: Dave
Date: September 15, 2001 at 14:15:25 Pacific
Reply:

The only other way to perform operations you need done is to create an applescript, which is the mac version of BAT files, only more powerfull.

It should be located under the apple menu.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Mac Forum Home


Sponsored links

Ads by Google


Results for: BAT files in MAC

Open downloaded files in MAC www.computing.net/answers/mac/open-downloaded-files-in-mac/8270.html

creating autorun files in mac www.computing.net/answers/mac/creating-autorun-files-in-mac/4928.html

Can I edit system file in Mac OS 6? www.computing.net/answers/mac/can-i-edit-system-file-in-mac-os-6/11809.html