If you want it to work on *nix too, use "\/" as delimiter.
> -----Original Message-----
> From: Bob Haroche [mailto:[EMAIL PROTECTED]
> Sent: maandag 21 juni 2004 20:31
> To: CF-Talk
> Subject: Re: Determining Directory Where Current Template Is Located
>
> Ah, beautiful. Thanks to both of you.
>
> > Use GetDirectoryFromPath(GetCurrentTemplatePath()) to get
> the current
> > directory path and then treat the directory as a list using
> \ as the
> > delimiter to get the last item in the list!
>
> I actually was doing that (almost). I was using "/" as my
> delimiter which of course returned a single item list, which
> didn't work.
>
>
> -------------
> Regards,
> Bob Haroche
> O n P o i n t S o l u t i o n s
> www.OnPointSolutions.com
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Determining Directory Where Current Template Is Located Bob Haroche
- RE: Determining Directory Where Current Template Is L... Barney Boisvert
- RE: Determining Directory Where Current Template Is L... Paul Vernon
- Follow Up on Case Sensititive ( was Determining Direc... Pascal Peters
- Follow Up on Case Sensititive ( was Determining D... Bob Haroche
- RE: Follow Up on Case Sensititive ( was Deter... Barney Boisvert
- RE: Follow Up on Case Sensititive ( was D... Samuel R. Neff
- Re: Follow Up on Case Sensititive ( was Deter... Rick Root