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]

Reply via email to