Summary

Thus, we have created several scripts, starting with the simplest example that can be used for demonstration purposes only, and proceeding further to create a small but useful one. The strongest point of WSH is its simplicity and the ease with which it can be used. Of course, there are certain limitations (for example, the RegRead, RegWrite, and RegDelete methods discussed earlier in this chapter provide no direct way of checking if the registry keys or values which you are going to create, delete, or modify already exist). For this purpose, you'll need to write a special application using any of the development environments available to you (such as Visual Basic, Visual C++, or Delphi).

On the other hand, a Windows script is simply a text file that you can create with any text editor you feel comfortable with — just be sure to save your script file with a WSH-compatible script extension (JS, VBS, or WSF). At the same time, the capabilities of WSH are rather powerful, and if you master it, you'll certainly be able to provide a quick and efficient solution within a matter of minutes.



Windows Server 2003 Registry
Unicode Explained
ISBN: 1931769214
EAN: 2147483647
Year: 2005
Pages: 129

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net