I just tried it but I think the "\" is messing up the results.

qlist = C:/mywork/dir1/dir2/dir3/dir4/system.log

#GetDirectoryFromPath(qList.Path)#

This is what I get for the output:

\






>I think that maybe this is a variable rather than a directory request?
>
>
>
>-----Original Message-----
>From: James Holmes [mailto:[EMAIL PROTECTED] 
>Sent: 17 May 2005 14:12
>To: CF-Newbie
>Subject: RE: Using ListLen
>
>Did you even try it? It doesn't have to a directory from the server - it
>can be any directory you like, in Wintel or UNIX format.
>
>Try
><cfoutput>#GetDirectoryFromPath("C:\mywork\dir1\dir2\dir3\dir4\system.lo
>g")#</cfoutput> and it will work.
>
>-----Original Message-----
>From: Ed Wong [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, 17 May 2005 9:05 
>To: CF-Newbie
>Subject: Re: Using ListLen
>
>I can't use the getDirectoryFromPath(path) because the directory is not
>one from the server.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only 
good for you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:955
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to