Showing archive results for 2007

Nov 1, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Delete All the Files in a Folder Older Than 90 Days?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In Windows PowerShell, how can I determine the number of days difference between two dates? I want to be able to delete all the files in a folder that are more than 90 days old.-- JN Hey, JN. You know, today is October 31st and, in the US at least, it’s the day when the dark underworld takes over: witches parade through the s...

Scripting Guy!Windows PowerShellstorage
Oct 31, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Determine the Age, in Years, of an Office Outlook Contact?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Given the birthday for one of my Office Outlook contacts, how can I tell how old that person is?-- JC Hey, JC. We have to tell you, JC, that you initially gave us quite a start with this question. Why? Well, when the Scripting Guy who writes this column sat down to write this column, he tossed together a script and, in order ...

Scripting Guy!VBScriptOffice
Oct 30, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Start a Remote Process Under CScript If the Script Path Contains Blank Spaces?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’m trying to create a process that runs a script under the CScript script host. However, I keep running into problems because there are spaces in the script path name. How can I use WMI’s Win32_Process class to run a script under CScript when there are spaces in the script path name?-- TA Hey, TA. ZDjhdvS ASBF VX Oh. Sorry; ...

Scripting Guy!scripting techniquesVBScript
Oct 26, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Present a Dialog Box that Allows Users to Rename Files?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I present users with a dialog box that enables them to rename a file? Ideally I’d like this to be in a loop of some kind, so that they could rename multiple files without having to restart the script.-- ER Hey, ER. Before we begin today we’d like to note that on this date, way back in 1854, American entrepreneur C. W....

Scripting Guy!scripting techniquesVBScript
Oct 25, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Be Notified if an Access Database File Exceeds a Specific Size?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I trigger an alert if an Access database file exceeds a specific size?-- MA Hey, MA. You know just the other day Microsoft.com posted 100 Reasons You'll Be Speechless, a Web page listing 100 reasons why “Seeing Windows Vista for the first time may leave you searching for words.” Note. The Scripting Guys’ favorit...

Scripting Guy!VBScriptOffice