| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Dec 24, 2003, at 9:21 PM, Lorin Rivers wrote:
This simple shell command works swimmingly from the command line in Panther, yet does nothing when called from my AppleScript.
set this_path to "/Users/lrivers/Desktop/cabs/06369022.cab"
--try
do shell script "/sw/bin/cabextract " & this_path
Suggestions?
BTW, .cab files are Windows archive files, typically OS related or in any case, coming from Microsoft. I wanted to write a little utility for extracting them because MS provides quite a few Office templates in that format. Alas...
Here's what I ended up doing. It was practically instantaneous. I'd still like to understand why it doesn't work from do shell script, but hey. The tech note practically says "don't expect do shell script to work".
| References: | |
| >do shell script woes (From: Lorin Rivers <email@hidden>) | |
| >Re: do shell script woes (From: Lorin Rivers <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.