d1trupinoy
Technical User
Newbie to VBS here. So far this forum has been very helpful to me in learning. I would like to create a script that creates a folder based on a path that I pass in. The problem I have is that depending on the path, multiple folder may need to be created in order to drill down to the correct level wfor the final folder. Ex.
I pass in "\\networkserver\level1\level2\\level3"
Say only "level1" folder exists so a "level2" folder will need to be created, then a "level3" folder created. I know I need to simple create a loop that parses the string I pass to create each folder seperated by "\" if it does not exist or something like that. Any help is appreciated.
I pass in "\\networkserver\level1\level2\\level3"
Say only "level1" folder exists so a "level2" folder will need to be created, then a "level3" folder created. I know I need to simple create a loop that parses the string I pass to create each folder seperated by "\" if it does not exist or something like that. Any help is appreciated.