Đang chuẩn bị liên kết để tải về tài liệu:
Windows Admin Scripting Little Black Book- P16

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Windows Admin Scripting Little Black Book- P16:This book may not be duplicated in any way without the express written consent of the publisher, except in the form of brief excerpts or quotations for the purposes of review. The information contained herein is for the personal use of the reader and may not be incorporated in any commercial programs, other books, databases, or any kind of software without written consent of the publisher. Making copies of this book or any portion for any purpose other than your own is a violation of United States copyright laws | Reg Query HKLM HARDWARE DESCRIPTION System SystemBiosDate BIOS.TXT For f tokens 3 I in TYPE BIOS.TXT Do Echo BIOS Date I Del BIOS.txt Nul Set Count Set Version Note The highlighted code above must be placed on one line. Related solution Found on page Modifying the Registry with Shell Scripting 122 Collecting Memory Information PSTAT is a resource kit utility to display running threads from the command line. You can use this tool to display memory information. To display memory information using shell scripting proceed as follows 1. Create a new directory to store all files included in this example. 2. Obtain PSTAT.EXE from the Resource Kit and copy it to the new directory. 3. Start a command prompt and enter scriptfile.bat . Here scriptfile is the full path of the new directory from step 1 and file name of a script file that contains the following PSTAT Find Memory MEM.TXT For F tokens 2 M In Type MEM.txt Do Echo Memory M Del MEM.txt Nul Warning The version of PSTAT that shipped with the NT Resource Kit might cause system errors when run on Windows 2000. You should obtain the latest version from Microsoft. Collecting Processor Information To collect processor information from the command line you can use REG.EXE from the resource kit to extract the appropriate information. To display processor information using shell scripting proceed as follows 1. Create a new directory to store all files included in this example. 2. Obtain REG.EXE from the Resource Kit and copy it to the new directory. 3. Start a command prompt and enter scriptfile.bat . Here scriptfile is the full path of the new directory from step 1 and file name of a script file that contains the following @ECHO OFF Reg Query HKLM HARDWARE DESCRIPTION System CentralProcessor 0 VendorIdentifier PROCESSOR.TXT For f tokens 3 I in TYPE PROCESSOR.TXT Do Echo Processor Vendor I Reg Query HKLM HARDWARE DESCRIPTION System CentralProcessor 0 Identifier PROCESSOR.TXT For f tokens 5 I in TYPE PROCESSOR.TXT Do Set FAMILY

Đã 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.