Re: Referencing a folder with "~" in the name
Re: Referencing a folder with "~" in the name
- Subject: Re: Referencing a folder with "~" in the name
- From: Gnarlodious <email@hidden>
- Date: Fri, 26 Apr 2002 09:37:08 -0600
Entity Simon Forster spoke thus:
>
...I have an OS 9 box which has a bunch of folders for web users with
>
names which begin with tilde (~). I have pretty much finished an OS X
>
script which, once done, needs to file stuff in one of the OS 9
>
machine's folders. This folder begins with a tilde.
>
>
Problem: I cannot reference any folder which starts with a tilde. As
>
soon as one of the folder names in a path contains "~", the OS X script
>
complains. (I understand that "~/" has special meaning in Unix land).
Try using a backslash before the literal character
Like this:
"remoteMountedDisk:folderName:folderName:\~restOfFolderName"
Hope that makes sense...
Rachel
http://www.gnarlodious.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.