Nilpo.com » Archive by category 'Windows Scripting'
Archive for the ‘Windows Scripting’ Category
Thursday, July 9th, 2009
You may receive an error “There is no script engine for file extension” while attempting to run .vbs files in Windows. This error can occur if no default scripting engine is set, the VBScript module is not correctly registered, or the .vbs file class settings are broken.
Posted in Windows 7, Windows Administration, Windows Scripting, Windows Security, Windows Vista, Windows XP | 10 Comments »
Thursday, July 9th, 2009
“I am running Windows XP. I need to execute VBS scripts to run functions in other programs. I had no problem until some security program disabled execution of VBS Scripts. Now all I get is code Notepad and the VBS Scripts don’t execute. How do I get Windows to execute VBS Scripts again?” - Peter […]
Posted in Windows 7, Windows Administration, Windows Scripting, Windows Security, Windows Vista, Windows XP | 24 Comments »
Monday, March 23rd, 2009
Back in August of 2007 I wrote an entry about Scripting the Clipboard Contents in WSH in which I addressed a means of using Internet Explorer automation for setting and retrieving the contents of the Windows clipboard. One of my readers, Adrian Dorache, made mention of that post while unveiling a COM object he […]
Posted in Windows Scripting | 2 Comments »
Wednesday, February 11th, 2009
The Luhn Algorithm is a simple checksum formula that is used to verify a variety of different numbers including most credit cards. Outside of verifying funds it provides the most accurate means of verifying credit card numbers by preventing typographical errors.
Posted in Web Development, Windows Scripting, Windows Vista, Windows XP | 2 Comments »
Tuesday, January 20th, 2009
When creating web pages and WSH scripts that send email it sometimes necessary to test the IIS SMTP service to ensure that it is properly handling and sending email. The technique I’ll be demonstrating today can be used locally or for testing the SMTP service on a remote server.
Posted in Networking, Web Development, Windows Administration, Windows Scripting, Windows Vista, Windows XP | 2 Comments »
Wednesday, December 31st, 2008
Many scripters have gotten all too used to using the WScript object’s Sleep method for pausing or delaying script execution. Since this object isn’t available in ASP, Windows Script Components, or HTML Applications, programmers are required to create viable alternatives.
Posted in Web Development, Windows Scripting | 10 Comments »
Friday, November 7th, 2008
I’ve seen this question several times over the past few weeks so I decided to sit down and find a solution. There’s a plethora of reasons why you might want to mute or unmute sound volume from within a WSH script. Until now, there’s been no viable solution.
Posted in Windows Scripting, Windows Vista, Windows XP | 15 Comments »
Friday, October 3rd, 2008
“Is there any way to release and renew a dynamic IP address in WSH?” - Chris. F
Releasing and renewing dynamic IP addresses can be a very effective method of repairing a broken internet connection. Effectively, you are instructing your network adapter to request a new IP address from a DHCP server. While the […]
Posted in Networking, Windows Scripting, Windows Vista, Windows XP | 1 Comment »
Wednesday, October 1st, 2008
I get a lot of questions asking for a simple way to force a script to run in either cscript.exe or wscript.exe–and there are several reasons why you might want to force the use of one engine over another. Cscript.exe is a good choice whenever you want to have a console output or mask […]
Posted in Windows Scripting, Windows Vista, Windows XP | No Comments »
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 […]
Posted in Windows Scripting | 1 Comment »
Nilpo.com » Archive by category 'Windows Scripting'