Using Windows Script Host to Modify the Registry phần 1

Using Windows Script Host to Modify the Registry In Chapter 10 we already touched on the problem of using Windows Script Host (WSH) and even provided a small code excerpt | Using Windows Script Host to Modify the Registry In Chapter 10 we already touched on the problem of using Windows Script Host WSH and even provided a small code excerpt which illustrated its usage. Introduced with Windows 2000 WSH is capable of creating simple but flexible and powerful scripts to automate network administration. Because WSH is language-independent you re free to select any scripting language you prefer Visual Basic Scripting Edition VBScript JScript or Perl. WSH also supports COM allowing you to enjoy the advantages of new technologies such as Windows Management Instrumentation WMI . Now the time has come to consider this topic in more detail. Of course it is impossible to provide a detailed description of WSH WMI or scripting languages such as VBScript or JScript within a single chapter after all each of these topics deserves a separate book and quite a comprehensive one since I have encountered volumes of JScript and Perl that comprised more than 1 500 pages . Therefore if you want a detailed language reference simply buy one of those books at your local bookstore. However we will consider registry-related topics and in particular the RegRead Regwrite and RegDelete methods provided by WSH. We will also consider their practical usage and provide several simple but useful scripts. Basic Information on Microsoft Windows Script Host WSH is a language-independent scripting host for Windows Script-compatible scripting engines. It brings simple powerful and flexible scripting to the Windows 32-bit platform allowing you to run scripts from both the Windows desktop and the command prompt. Windows Script Host is ideal for non-interactive scripting needs such as logon scripting administrative scripting and machine automation. The Benefits of Windows Script Host WSH offers the following benefits Two ways to run scripts . provides a Windows-based properties page for setting script properties provides .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.