Showing tag results for Scripting Guy!

Mar 4, 2005
Post comments count0
Post likes count0

How Can I Delete a Single Registry Value?

ScriptingGuy1

Hey, Scripting Guy! How can I delete a single registry value? I don’t want to delete the entire registry key, just one value.-- BF Hey, BF. Registry terminology can be a bit confusing, thanks in large part to those of us here at Microsoft (we tend to use a different set of terms when we talk about the registry than the rest of the world does). S...

Scripting Guy!VBScriptoperating system
Mar 3, 2005
Post comments count0
Post likes count0

How Can I Determine the Elapsed Time Between Two Dates?

ScriptingGuy1

Hey, Scripting Guy! How can I tell how many days there are between two dates? For example, if I have a log file that says an application started on January 1, 2005 and that the application ended today, is there a way to determine how many days the application ran?-- AL Hey, AL. You know, in the second Hey, Scripting Guy! column ever written ("Ho...

Scripting Guy!scripting techniquesVBScript
Mar 2, 2005
Post comments count0
Post likes count0

How Can I Create a Folder on the Start Menu?

ScriptingGuy1

Hey, Scripting Guy! How can I create a folder on the Start menu? I want the folder to be named the same as the %username% environment variable.-- SB Hey, SB. As we are wont to do, we’re going to break this question down into subtasks. We’ll explain how to do each of these subtasks, then at the end put the pieces together to create a single scrip...

Scripting Guy!VBScriptstorage
Mar 1, 2005
Post comments count0
Post likes count0

How Can I Use a Multi-Select Dialog Box in a Script?

ScriptingGuy1

Hey, Scripting Guy! Awhile back you showed us how to use a File Open dialog box in our scripts. At the same time you said you’d show us how to use a multi-select dialog box. Did you just forget about the multi-select dialog box?-- AA Hey, AA. Yes, we … forgot … about the multi-select dialog box. (Saying we forgot sounds better than saying, “No, ...

Scripting Guy!scripting techniquesVBScript
Feb 28, 2005
Post comments count0
Post likes count0

How Can I Determine if a Users’ Folder Exists on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I determine if the C:\Documents and Settings\%username%\Application Data\Microsoft\Templates folder exists on a computer?-- JM Hey, JM. The FileSystemObject includes a FolderExists method that makes it very easy to check for the existence of a folder. Just pass FolderExists the complete path to the folder and you’ll q...

Scripting Guy!VBScriptstorage