On Your Own: Lab 14 Creating Folders
In this lab, you are going to practice creating folders. The result of this practice will be a script that can be used for creating multiple folders for a variety of occasions.
Open Notepad.exe.
At the top of the script, set Option Explicit.
Declare variables for the following: numFolders, folderPath, folderPrefix, objFSO, objFolder, and i. The Header section of your script will look like the following:
Option Explicit Dim numFolders Dim folderPath Dim folderPrefix Dim objFSO Dim objFolder Dim i
Assign numFolders to be equal to 10.
Assign folderPath to be "C:\" or some other local drive on your machine. (Note that the quotation marks are required.)
Assign folderPrefix to be equal to "Student". (The quotation marks ...
Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.