335 pts.
 Creating folders using scripts?
I’m wondering if you have a script that creates a folder, which prompts the user to enter a name for that folder, and then automatically creates sub-folders with predetermined names.

Software/Hardware used:
ASKED: April 8, 2010  3:13 PM
UPDATED: April 8, 2010  4:18 PM

Answer Wiki:
Here's a simplified example (vb script) that should get you started. You might want to add code to check for the existence of the folder, and to display user friendly messages. <pre>Dim objFSO, objFolder, strDirectory strDir = InputBox("Enter directory name") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder(strDir) WScript.Quit </pre> -CarlosDL
Last Wiki Answer Submitted:  April 8, 2010  4:18 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _