View Single Post

Member Since: Sep 02, 2012
Posts: 1
huntson is on a distinguished road

huntson is offline
I am fairly new to AppleScript and need some help with the following line:

do shell script "diskutil unmount \"Volumes/" & bob

Bob is the variable of the name of the volume I want to pass to the shell script. No matter how I do it - I cannot get the end of the line correct in terms of quotes.* I get the following error in its current state

sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
QUOTE Thanks