Showing tag results for VBScript

May 16, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Delete All the Files in a Folder Except for the Most-Recently Created File?

ScriptingGuy1

Hey, Scripting Guy! I have a folder that has about 50 files in it. How can I delete all those files except the one most-recently created?-- GA Hey, GA. You know, today would be a good day to review some of the items that have recently been in the news. (You know that life must be exceedingly dull for the Scripting Guy who writes this column when...

Scripting Guy!VBScriptstorage
May 15, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Search a Text File for Activities That Took Place on a Specified Date?

ScriptingGuy1

Hey, Scripting Guy! I’m trying to write a script that can go through a log file and determine the number of users who logged off on a particular day. Can you help me?-- TM Hey, TM. You know, when you work at Microsoft people think you probably come to work in your pajamas, ride a unicycle through the hallways, and do all those other weird and wa...

Scripting Guy!scripting techniquesVBScript
May 14, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Move Emails From One Outlook Folder to Another?

ScriptingGuy1

Hey, Scripting Guy! You’ve had several articles that show how it’s possible to find specific email messages in Outlook; for example, you’ve shown us how to find all the emails sent by a particular person. What I was wondering is this: after you find these emails, is it possible to have the script move the messages to a different folder?-- FD Hey...

Scripting Guy!VBScriptOffice
May 13, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Determine the Distinguished Name of the OU Where the Logged-On User’s User Account Resides?

ScriptingGuy1

Hey, Scripting Guy! As part of a logon script, I need to determine the distinguished name of the OU for the user logging on. How can I do that?-- LK Hey, LK. Today is May 12th, which might not mean much to you. But, then again, maybe it does; after all, May 12this the birthday of Cosimo II de' Medici, Grand Duke of Tuscany, born May 12, 1590, die...

Scripting Guy!VBScriptActive Directory
May 8, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Copy a Portion of a Microsoft Word Document to a New Microsoft Word Document?

ScriptingGuy1

Hey, Scripting Guy! How can I find some text in a Microsoft Word document, copy the rest of the document from that point on, then paste the copied text into a brand-new Word file?-- CB Hey, CB. You know, it’s kind of a melancholic day here at Scripting Guys world headquarters. That’s because the Juanita Rebels were defeated 10-8 in the opening r...

Scripting Guy!VBScriptOffice