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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help! :^) Thanx for the grade!
ASKER