• 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
Re: Referencing a folder with "~" in the name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Referencing a folder with "~" in the name
      • From: Christopher Nebel <email@hidden>
References: 
 >Referencing a folder with "~" in the name (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: What Changed Between 1.6 and 1.7?
  • Next by Date: Re: AppleScript Language Guide
  • Previous by thread: Re: Referencing a folder with "~" in the name
  • Next by thread: Re: Referencing a folder with "~" in the name
  • Index(es):
    • Date
    • Thread