I am having trouble writing a VBScript that will create a Folder with sub-directories (i.e. C:\Folder1\Folder2 where Folder1 does not yet exist). I know that I have to write a recursive method or loop. I have found many examples online but can't seem to get any of them to work for me. Below is an example of what I would like to expand.
As always, thanks in advance.
If Not objFSO.FolderExists("C:\Folder1\Folder2\") then objFSO.CreateFolder("C:\Folder1\Folder2\") End if