Re: do shell of file on CD-ROM
Re: do shell of file on CD-ROM
- Subject: Re: do shell of file on CD-ROM
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 05 Jan 2003 22:08:00 -0500
At 18:11 -0500 1/5/03, email@hidden wrote:
Can anyone tell me if it's possible to do a "do shell" and access a
unix file that's been written on a CD-ROM for Mac OS X?
Let's say for instance, that I have a Unix file called "EnableDHCP"
and it's written in a folder on the CD-ROM called "DATA". Could I
do something like:
do shell script (command to find path of CD-ROM) & ":DATA:EnableDHCP"
Here, this lists all the files in the current CD in my Mac:
do shell script "ls /Volumes/\"Thrillride Pinball CD\"/"
The name of the CD is "Thrillride Pinball CD" and ,yes, it is my kid's cd... :)
Another point, ":
DATA:EnableDHCP" should really be "/DATA/EnableDHCP".
Regards
--
Deivy Petrescu
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.