Hi
you can use the function GetFileFromPath(string)
that will return just the file name

Eli Shechter
_______________________________________________________________
K  n  o  w  l  e  d  g  e    S  t  r  a  t  e  g  i  e  s    G  r  o  u  p
Connecting business and customers anytime, anywhere, anyhow.
Eli Shechter                           Technology Consultant ~ Internet
Development
900 Broadway, Suite 602         New York, NY 10003
Voice: 212.414.1000 x224       FAX: 212.414.0909
[EMAIL PROTECTED]                 http://www.kstrat.com/


----- Original Message -----
From: "Olive, Christopher M Mr USACHPPM"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 19, 2000 1:55 PM
Subject: RE: Strip directory path to get just file name


> do a ListLast("c:\webshare\wwwroot\site\filename.cfm", "\").
>
> Chris Olive
> DOHRS Website Administrator
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: cf kaizen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 19, 2000 12:41 PM
> To: [EMAIL PROTECTED]
> Subject: Strip directory path to get just file name
>
>
> Hi All,
>
> If my value in a string is
>
> c:\webshare\wwwroot\site\filename.cfm
>
> , how I just strip it down so I can dump filename.cfm
> into a variable?
>
> I am thinking that I should access the above string
> from the right side, looping through each character
> until I get to the first "\". However, I don't know
> where to start with the code (and, I left both cfwacks
> books at home :(
>
> Any help is very much appreciated!
>
> Thanks!
> Andy
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to