• 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: File Path Separator Syntax (was Re: Writing To A File)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Path Separator Syntax (was Re: Writing To A File)


  • Subject: Re: File Path Separator Syntax (was Re: Writing To A File)
  • From: Matthew Smith <email@hidden>
  • Date: Tue, 30 Sep 2003 16:26:40 +1000

on 30/09/2003 15:12, Walter Ian Kaye at email@hidden wrote:

>> Starting with ":Users" is not likely to do what you want.
>
> Perhaps I should elaborate on this.
>
> People coming to the Mac from Unix may think that ":" is a direct
> counterpart to "/" -- but it's not. It really encompasses properties
> of both "/" and "." characters. Here are some equivalents:
>
> Unix filename Mac filename
> ----------------------------- -----------------------------
> ./filename :filename
> ../filename ::filename
> /folder/filename Disk:folder:filename

Why would you use the first two Mac forms? Wouldn't their use rely on
knowing which is the current directory?

I can understand the Unix form when you run from the command line, or in a
script, as you know the current directory, or can change it. I am not sure
how you would use the Mac equivalents. I suppose you could enter it in a
Save dialog, but not where else?

--
Matthew
_______________________________________________
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: File Path Separator Syntax (was Re: Writing To A File)
      • From: Christopher Nebel <email@hidden>
References: 
 >File Path Separator Syntax (was Re: Writing To A File) (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: File Path Separator Syntax (was Re: Writing To A File)
  • Next by Date: Re: Writing To A File
  • Previous by thread: File Path Separator Syntax (was Re: Writing To A File)
  • Next by thread: Re: File Path Separator Syntax (was Re: Writing To A File)
  • Index(es):
    • Date
    • Thread