Link to home
Start Free TrialLog in
Avatar of electricd7
electricd7

asked on

Get directory name into variable based on root directory FSO VBScript

Hello,

I have an VBS file I am working on which I need a hand with.  I need to a function which opens a directory and returns the name of a subdirectory within it.  Basically I have a root directory, and inside that directory are 2 things.. The first is a .MDB file, and the second is a subdirectory.  I know the name of the .MDB file each time, but the name of the subdirectory varies.  How can I get the name of the single subdirectory into a variable?  Thanks!
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of electricd7
electricd7

ASKER

Duh!  Thanks again sirbounty!
Glad I could help! :^)  Thanx for the grade!