PC Review


Reply
Thread Tools Rate Thread

Active Folder Name

 
 
sgl
Guest
Posts: n/a
 
      1st Jul 2009

Hi all,
How do you find the name of the "active folder" not the whole CurDir path
just the folder name which can be used to validate if user is in the correct
folder.

many thanks/sgl
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      1st Jul 2009

Try

Msgbox Mid(curdir,InstrRev(CurDir,"\")+1)

If this post helps click Yes
---------------
Jacob Skaria


"sgl" wrote:

> Hi all,
> How do you find the name of the "active folder" not the whole CurDir path
> just the folder name which can be used to validate if user is in the correct
> folder.
>
> many thanks/sgl

 
Reply With Quote
 
sgl
Guest
Posts: n/a
 
      1st Jul 2009

Absolutely brilliant
thank you vm/sgl

"Jacob Skaria" wrote:

> Try
>
> Msgbox Mid(curdir,InstrRev(CurDir,"\")+1)
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "sgl" wrote:
>
> > Hi all,
> > How do you find the name of the "active folder" not the whole CurDir path
> > just the folder name which can be used to validate if user is in the correct
> > folder.
> >
> > many thanks/sgl

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Active workbook folder name Jasoni Microsoft Excel Programming 2 2nd Oct 2008 08:53 AM
Active Folder in Mail too dim John Windows Vista Mail 6 13th Dec 2007 03:43 AM
No active prefetch folder Bill Woods Windows XP General 5 12th Mar 2005 01:28 AM
No active prefetch folder Bill Woods Windows XP Performance 5 12th Mar 2005 01:28 AM
Active D and Sercurity right to folder Mike Microsoft Windows 2000 Active Directory 1 28th Jun 2004 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:22 PM.