Showing tag results for storage

Jun 20, 2005
Post comments count0
Post likes count0

How Can I Determine if a File Exists and, if It Does, Exit the Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I check to see if a particular file exists and, if it does, exit the script?-- TO Hey, TO. There are at least two ways to check for the existence of a file (that’s the real key here; exiting the script is easy). One of these approaches uses the FileSystemObject and the other uses WMI, and we’re going to show you both ...

Scripting Guy!VBScriptstorage
May 23, 2005
Post comments count0
Post likes count1

How Can I Correlate Logical Drives and Physical Disks?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I correlate logical drives and physical disks?-- LB Hey, LB. We’ll make a deal with you: we’ll show you a script that can tell you which logical drives are found on which physical disks, and you promise not to say, “Wait, I don’t understand how this script works.” To tell you the truth, we’re not so sure that we under...

Scripting Guy!VBScriptstorage
May 3, 2005
Post comments count0
Post likes count0

How Can I Insert Files into a Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Awhile back you showed people how they could combine several text files into a single file. I’d like to do the same thing in Word. How can I insert files into a Word document?-- HK Hey, HK. Believe it or not it’s actually easier to insert files into a Microsoft Word document than it is to insert a text file into another text ...

Scripting Guy!VBScriptOffice
Apr 8, 2005
Post comments count0
Post likes count0

How Can I Get a List of All the .PST Files on a Computer?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! How can I get a list of all the .pst files on a computer - along with their size and their location - and then save that information to a comma-separated values file?-- DC Hey, DC. If you hang around baseball fields long enough sooner or later you’ll hear someone use the expression “tailor-made.” Typically what they are...

Scripting Guy!scripting techniquesVBScript
Apr 5, 2005
Post comments count0
Post likes count0

How Can I Delete a Folder and All Its Subfolders?

ScriptingGuy1
ScriptingGuy1

Hey Scripting Guy! How can I delete a folder and all its subfolders?-- FB Hey, FB. You know, a lot of people think the Scripting Guys know everything there is to know about scripting. Let’s put it this way: we wish. In fact, it’s only when we begin to think that we do know something about scripting that we get ourselves into trouble. Take (pleas...

Scripting Guy!VBScriptstorage