Unknown token in do shell script
Unknown token in do shell script
- Subject: Unknown token in do shell script
- From: Iurista GmbH <email@hidden>
- Date: Thu, 08 Mar 2012 19:14:55 +0100
Hi
I want to unmount a volume.
When I enter in Terminal % diskutil unmount /Volumes/myDisk Leo, that works fine.
Now I write an applescript: do shell script "diskutil unmount /Volumes/myDisk Leo", that does not work
If I write: do shell script "diskutil unmount /Volumes/myDisk\ Leo", Applescript says that the backslash is an unknown token...
What do I wrong?
Rudolf
--
The price of freedom is eternal vigilance (Thomas Jefferson, US President)
This mail is from:
Rudolf O. Durrer
IURISTA CONSULT GmbH
Legal Counselors
Switzerland
email@hidden
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden