I have tried to create a script to create department folders based on a .csv file;that part works fine. I also need the script to create 3 folders under each department folder named full, read, and shared.
Any ideas on how to do this
Thanks
Here is the code
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile ("dept.csv", 1)
Do Until objTextFile.AtEndOfStream
NewFolder = "C:\" & objTextFile.ReadLine
objFSO.CreateFolder NewFolder
Loop
Any ideas on how to do this
Thanks
Here is the code
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile ("dept.csv", 1)
Do Until objTextFile.AtEndOfStream
NewFolder = "C:\" & objTextFile.ReadLine
objFSO.CreateFolder NewFolder
Loop