Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
May, 2006
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
May, 2006
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud & Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Microsoft Leadership
Brad Anderson - In the Cloud
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Useful Links
Learn Powershell
TechNet Script Center Home page
Scripting Guys Script Repository
The Official Scripting Guys Scripting Forum
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Tags
2010 Scripting Games
2011 Scripting Games
2012 Scripting Games
Active Directory
Advanced
Beginner
databases
dates and times
desktop management
event logs
events and monitoring
Excel spreadsheet
files
folders
general management tasks
getting started
guest blogger
leaderboard
Logs and monitoring
Microsoft Excel
Microsoft Outlook
Microsoft Word
networking
Office
operating system
PowerShell 3
PowerTip
processes
Quick-Hits Friday
registry
running
Scripting Guy!
scripting techniques
Scripting Wife
Sean Kearney
searching Active Directory
security
servers
SQL Server
storage
string manipulation
text files
user accounts
using the Internet
VBScript
Web pages and HTAs
Weekend Scripter
Windows PowerShell
WMI
writing
More
▼
Less
▲
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(45)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Extract Just the File Name from the Full Path to the File?
Posted
over 7 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! How can I extract just the file name from the full path to the file? -- SD Hey, SD. As you might know, Ted Williams was the last major league baseball player to bat .400 for an entire season. Coming into the final day of the year...
Hey, Scripting Guy! Blog
How Can I Hide the Command Window When Executing a Command Like net Localgroup Administrators?
Posted
over 7 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! How can I hide the command window when executing a command like net localgroup Administrators ? -- AA Hey, AA. You know, before we begin we’d like to take a few minutes to recognize all those faithful readers who read the Hey, Scripting...
Hey, Scripting Guy! Blog
How Can I Create a New Excel Spreadsheet at Midnight Each Night?
Posted
over 7 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! How can I create a new Excel spreadsheet at midnight each night? I’d like each spreadsheet to have a file name similar to this: 6-1-06.xls . -- DH Hey, DH. You know, often-times the simplest approach is also the best approach. For...
Hey, Scripting Guy! Blog
How Can I Rename a Local User Account on a Windows XP Computer?
Posted
over 7 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! How can I rename a local user account on a Windows XP computer? -- TY Hey, TY. You know, nowadays the “in” thing is to poke fun at Microsoft and Windows XP. We know: we’ve seen the new commercials from that one computer company...
Hey, Scripting Guy! Blog
How Can I Convert a Global Security Group to a Universal Security Group?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I convert a global security group to a universal security group? -- BB Hey, BB. We have to tell you the truth, we were pretty excited when we first read your email. Convert a global security group to a universal security...
Hey, Scripting Guy! Blog
How Can I Query a Text File and Retrieve Records That Occurred on a Specific Date?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! We have tons of text files in which each line in the file represents a record or an event of some kind. How can I use a script to retrieve records or events that occurred on a specified date? -- TW Hey, TW. You know, in your email...
Hey, Scripting Guy! Blog
How Can I Search a Word Document for All the Words in Double Brackets?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I search a Word document for all the words in double brackets? For example, I need to find words like this: [[failed]]. I then need to save the words I find to a text file. -- PP Hey, PP. You know, one thing that seems to...
Hey, Scripting Guy! Blog
How Can I Use a Script to Create a Sequential Series of User Accounts?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! For purposes of testing, I often need to create multiple user accounts like this: pgeorge01, pgeorge02, etc. How can I write a script that automatically creates the next account in the sequence; that is, pgeorge03? -- RG Hey, RG...
Hey, Scripting Guy! Blog
How Can I Change All the Lowercase Letters in an Excel Worksheet to Uppercase Letters?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change all the lowercase letters in an Excel worksheet to uppercase letters? -- BC Hey, BC. Have you ever heard the old expression, “If you want something done you have to do it yourself”? Well, to tell you the truth,...
Hey, Scripting Guy! Blog
How Can I Rename Files Using File Names I’ve Written to a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a bunch of files with names like 001.jpg and 002.jpg. I also have a text file that includes the names I would like each of these files to have; for example, 001.jpg should be named Picture_of_Family_Members.jpg. How can I write...
Hey, Scripting Guy! Blog
How Can I Get a Script to Delete Itself?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have a script for installing a printer that I give to my end users. When the script finishes, I’d like it to be able to delete itself. How can I get a script to delete itself? -- EA Hey, EA. You know, that’s an interesting idea...
Hey, Scripting Guy! Blog
How Can I Clear the List of URLs That Appear in the Internet Explorer Address Bar?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I clear the list of URLs that appear in the Internet Explorer address bar? -- GA Hey, GA. You know, if you’ve ever pondered the question, “What is it that makes the Scripting Guys different from other Microsoft employees...
Hey, Scripting Guy! Blog
How Can I Add Centered Page Numbers to the Footer of a Word Document?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to put the page number (centered) in the footer of a Word document. Do you have any suggestions on how I can do that? -- AW Hey, AW. To tell you the truth, the Scripting Guy who writes this column no longer makes suggestions...
Hey, Scripting Guy! Blog
How Can I Force Users to Type Command-line Arguments in a Specific Order?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I force users to type command-line arguments in a specific order? -- JA Hey, JA. You know, the Scripting Guy who writes this column has a 16-year-old son. He coaches Colt League baseball. He works every day with all the...
Hey, Scripting Guy! Blog
How Can I Get a List of All the .dll Files in a Folder, Along with Their Version Numbers?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the .dll files in a folder, along with their version numbers? -- DD Hey, DD. You know, when we sit down to write this column we usually try to start off with an amusing and at least semi-relevant anecdote...
Hey, Scripting Guy! Blog
How Can I Map Network Drives Based on a Computer’s Site?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I parse information in a text file, and then use that information to map network drives based on a computer’s site? -- BH Hey, BH. We’ll be with you in a second - we’re still replaying last night’s baseball game, in which...
Hey, Scripting Guy! Blog
How Can I Remove Blank Spaces Before and After a String Value?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have a custom in-house application that writes data to a log file. The problem is that the data often has a bunch of blank spaces before and after it. How can I remove all the blank spaces that come before and after my data? --...
Hey, Scripting Guy! Blog
How Can I Use a Script to Automatically Queue Up Files That I Want to Burn to a CD?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In Windows XP, how can I use a script to automatically queue up files that I want to burn to a CD? -- BD Hey, BD. Well, unfortunately, we have some bad news for you: there’s currently no way to burn a CD using a script. You see...
Hey, Scripting Guy! Blog
How Can I Determine the Size of All the Items Currently in the Recycle Bin?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine the size of all the items currently in the Recycle Bin? -- T D-L Hey, T D-L. You know, if we wanted to, the Scripting Guys could probably change our name to the Recycle Bin Guys; that’s because we get so many...
Hey, Scripting Guy! Blog
How Can I Tell Whether a .GIF File is a Regular Picture File or an Animated Picture File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a silly question for you: how can I tell whether a .GIF file is a regular old picture file or an animated picture file? -- WW Hey, WW. To begin with, there’s no such thing as a silly question. We’ve always believed that ...
Hey, Scripting Guy! Blog
How Can I Rename a User Account in a Windows NT 4.0 Domain?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I rename a user account in a Windows NT 4.0 domain? -- JK Hey, JK. You know, as this column is being written it’s a Monday here in Seattle, and it’s raining. And yes, we know what you’re thinking: when isn’t it raining in...
Hey, Scripting Guy! Blog
How Can I Search for Folders That Have a Dot in Their Name?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I search for folders that have a dot in their name? For example, a folder like Administrator.name or Folder.old ? -- DU Hey, DU. You know, if your intention was to trick the Scripting Guys (not that tricking the Scripting...
Page 1 of 1 (22 items)