Hi all I have this script that I need to change so that it has a wild card function allowing it to create a folder in all the folders within one folder, my script so far is:
On Error Resume Next
Dim Answer1, Answer2, Answer3
Set wn = WScript.CreateObject("WScript.Network")
Set fs = CreateObject("Scripting.FileSystemObject")
Set ws = CreateObject("WScript.Shell")
Answer1 = InputBox("Enter the name of the folder you wish to create")
' The following lines will create a folder and two
' subfolders on c: from the answers given in the input
' boxes above
fs.CreateFolder ("d:\pupils\all\my documents\tech\year 5\" & Answer1)
Only the good die young, me I'm here forever
On Error Resume Next
Dim Answer1, Answer2, Answer3
Set wn = WScript.CreateObject("WScript.Network")
Set fs = CreateObject("Scripting.FileSystemObject")
Set ws = CreateObject("WScript.Shell")
Answer1 = InputBox("Enter the name of the folder you wish to create")
' The following lines will create a folder and two
' subfolders on c: from the answers given in the input
' boxes above
fs.CreateFolder ("d:\pupils\all\my documents\tech\year 5\" & Answer1)
Only the good die young, me I'm here forever