BAT files in MAC
|
Original Message
|
Name: Ram
Date: September 6, 2001 at 10:44:05 Pacific
Subject: BAT files in MAC |
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
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Daniel
Date: September 9, 2001 at 15:11:56 Pacific
Subject: BAT files in MAC |
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Dave
Date: September 15, 2001 at 14:15:25 Pacific
Subject: BAT files in MAC |
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: