• 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:23:54 +0100

Oops, my posting needs a corrigendum

That is the real text I wanted to write:

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
But 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

PS: this is on 10.4.11
 _______________________________________________
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


  • Follow-Ups:
    • Re: Unknown token in do shell script
      • From: Axel Luttgens <email@hidden>
    • Re: Unknown token in do shell script
      • From: Luther Fuller <email@hidden>
    • Re: Unknown token in do shell script
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Unknown token in do shell script
  • Next by Date: Re: Unknown token in do shell script
  • Previous by thread: Unknown token in do shell script
  • Next by thread: Re: Unknown token in do shell script
  • Index(es):
    • Date
    • Thread