I decided to start the new year with a mixed bag of short, sharp, helpful scripts that you can incorporate into your scripts. All the scripts I discuss are easy to understand, and most have just two lines of code, making them good additions to your systems administration toolkit.
The Shell::Application Object
Microsoft Internet Explorer (IE) 4.0 introduced an object called Shell:: Application that can help you perform some unusual systems administration tasks. This object is native in Windows 2000, Windows Me, and Windows 98. If you use Windows NT 4.0 or Win95, you must be running IE 4.0 or later; however, if you use IE 5.0 with NT or Win95, the object might not load by default. If you experience that problem with IE 5.0 under NT 4.0, execute the command
IE5Setup.exe /C:"ie5wzd
/e:IE4Shell_NTx86 /I:Y"
To install the IE 5.0 object under Win95, run the command
IE5Setup.exe /C:"ie5wzd /e:IE4Shell_WIN /I:Y"
If you use either command, be sure to type it all on one line in the command shell window. . . .