I have the following code that open the folder by entering the name of the main folder, then by entering the name of the subfolder. However, I need it to enter the name of one folder and then it needs to search in the main folder to locate the folder if it exists and then open it.
CONST strDir...
Thank you for the reply. Im sorry, it needs to say folder not found. I am worried more about the folder than the files. I can do this now but I can not search in folders and subfolders within the directory specified.
I am looking for a script to ask to enter a folder name. It needs to search in c:/ for the folder name entered. If it finds it to open it, if not to say file not found. Is this possible.
Thank you for your help. :)
Hello everyone,
Hoping someone will help me here. I have a script that asks for a directory and a subdirectory name. I need the script to go to the directory and then open the subdirectory entered but somehow I cannot get it to work. Here's what I have:
CONST strDir = "c:\test"
set objShell =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.