Referencing a folder with "~" in the name
Referencing a folder with "~" in the name
- Subject: Referencing a folder with "~" in the name
- From: Simon Forster <email@hidden>
- Date: Tue, 23 Apr 2002 13:14:24 +0100
Hoping that the usual magic of
send-the-list-an-email-and-5-seconds-later-I'll-work-it-out-for-myself
is still holding true...
...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).
How can I reference "folder
"remoteMountedDisk:folderName:folderName:~restOfFolderName""? The usual
suspects of escaping the tilde or saying (ascii character 126) don't
work.
TIA for any advice (other than "rename the folders").
Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<
mailto:email@hidden>
________________________________________________
_______________________________________________
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.