Nilpo.com » Archive by category 'Windows Scripting'
Archive for the ‘Windows Scripting’ Category
Sunday, July 27th, 2008
“Is there any way to mask the passwords that my users enter when running my Windows Scripts?” - Steve. P
Password masking is a method of hiding a user’s keyboard input so that another person cannot see what’s being typed on screen. This security measure helps to ensure that “shoulder surfers” can’t gain passwords by […]

Loading ...
Posted in Windows Scripting | No Comments »
Tuesday, July 1st, 2008
“Hey, Windows Guru. How can I make it so that my VBScript event routines are only executed after a certain point in my script?” - Sam M.
Sam, you’ve asked an awesome question that you probably won’t find much documentation for. However, I have a really cool solution for you.

Loading ...
Posted in Windows Scripting | No Comments »
Wednesday, June 18th, 2008
“How can I read the contents of a Microsoft Word document using VBScript in WSH?” - Bill S.
Reading the contents of a Microsoft Word document in WSH is actually pretty simple. You can use any language you like with this method, but I’ll be using VBScript.

Loading ...
Posted in Windows Scripting | No Comments »
Thursday, January 17th, 2008
I use the ? an : operators when writing PHP. Are there similar operators available in VBScript? - Bill S.
Let me first give a basic introduction for those readers who don’t know PHP and may not understand what we’re talking about here. PHP allows you to make quick decisions using the ? and […]

Loading ...
Posted in Windows Scripting | No Comments »
Monday, January 14th, 2008
Can you call a WSH script from within an existing VBS WSH logon script?- Cheryl J.
Hello, Cheryl. Quite simply, yes you can. There are a couple of methods for doing this. I’ll show you the easiest two first and then I’ll document a third, more robust way, in a future article.

Loading ...
Posted in Windows Scripting | No Comments »
Tuesday, December 4th, 2007
As 2007 comes to a close, the Scripting Guys over at Microsoft are earnestly preparing laurel wreathes and scripting challenges in preparation for their upcoming Scripting Games. As a participant this year, I will again be competing in next year’s challenge and I urge all of you to do the same. So let’s […]

Loading ...
Posted in Windows Scripting | No Comments »
Thursday, October 11th, 2007
Network administrators are becoming more accustomed to performing common tasks remotely. Windows itself provides a mechanism for this with its Remote Desktop feature. Being able to administer machines remotely saves travel time while providing a much appreciated convenience. But what happens when the machine you want to connect remotely to doesn’t have […]

Loading ...
Posted in Networking, Windows Administration, Windows Scripting, Windows Security, Windows Vista, Windows XP | No Comments »
Monday, August 13th, 2007
I’ve received an interesting question about how to archive new files every day in an office setting. The solution that I’ve come up for this reader involves the creation of an event-driven script that can monitor a folder for newly created files and copy them to another location.

Loading ...
Posted in Windows Administration, Windows Scripting, Windows Vista, Windows XP | No Comments »
Thursday, August 9th, 2007
It can sometimes be very useful to have links in your web browser spawn third-party applications for you. A user recently submitted a question wanting to have a URL open an SSH connection with PuTTY. As he learned, this can be done by creating a custom URL protocol.

Loading ...
Posted in Networking, Windows Administration, Windows Scripting, Windows Vista, Windows XP | 4 Comments »
Tuesday, August 7th, 2007
So you’re working with WSH and you’re wondering how you can get or set the contents of the Windows clipboard. Unfortunately, WSH does not have this ability natively and there are no COM objects or WMI methods for performing this action either, but you’ll be happy to see this workaround that will let you […]

Loading ...
Posted in Windows Administration, Windows Scripting, Windows Vista, Windows XP | 6 Comments »
Nilpo.com » Archive by category 'Windows Scripting'