• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unknown token in do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Smile PDF Drawing dpi question
  • Next by Date: Unknown token in do shell script
  • Previous by thread: RE: Please Test ? Safari Save Problem
  • Next by thread: Unknown token in do shell script
  • Index(es):
    • Date
    • Thread