RSS Feeds | Create Folders from a list in an .xls Spreadsheet |
|
|
|
| Written by Cheyenne Harden | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I needed to create over 300 folders with specific file names. These names were listed in an excel doc and I didn't want to create the folders by hand. This script will create folders based on the listed text in an excel file.
----------COPY EVERYTHING BELOW THIS LINE for the Script---------- strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objExcel = CreateObject("Excel.Application") i = 1
Do Until objExcel.Cells(i, 1).Value = "" ' first value is row (i), second value is the column (1)
i = i + 1
----------COPY EVERYTHING ABOVE THIS LINE for the Script----------
PLEASE MAKE SURE NO WORD WRAPPING IS HAPPENING IN YOUR SCRIPT!!! To make this script work you will need the items below!
Powered by !JoomlaComment 3.12 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < Prev | Next > |
|---|
















