MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Baxter <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 07:59:10 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
On Jan 16, 2006, at 7:26 AM, Chuck Pelto wrote:

>
>> do shell script "hdiutil create -srcfolder /Users/lively/Desktop/ 
>> untitled\\ folder/ /tmp/junk2.dmg"
>
> Where did this back-slashes come into the picture? None of the  
> message traffic, heretofore, mentioned such.

The second backslash is there to protect the space in "untitiled  
folder" from the shell.

The first backslash is there to protect the second backslash from  
AppleScript.

   --John

ATOM RSS1 RSS2