Re: do shell script
Re: do shell script
- Subject: Re: do shell script
- From: Michael Schmidt <email@hidden>
- Date: Thu, 11 Dec 2003 15:33:03 +0100
Does anyone have an idea of why this command sometimes fails?
do shell script ("/usr/sbin/diskutil repairDisk " & destinationPath)
password AdminPassword with administrator privileges
where destinationPath would look like '/Volumes/Macintosh Drive' and
AdminPassword is the correct password.
Maybe it's the space in the name 'Macintosh Drive'
Just try
do shell script ("/usr/sbin/diskutil repairDisk '" & destinationPath &
"'") password AdminPassword with administrator privileges
to tell repairDisk, that the blank is part of the path.
CU
ShooTerKo
_______________________________________________
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.