tailieunhanh - Windows Admin Scripting Little Black Book- P7
Windows Admin Scripting Little Black Book- P7: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 | Microsoft 9x includes a Scandisk utility based on Norton Disk Doctor. This utility checks for and repairs disk errors usually caused by Windows lockups or incorrect shutdowns. The Windows graphical interface for Scandisk is which calls DISK- to run the scans. supports the following command-line options ALLFIXEDDISKS Scans all local drives NONINTERACTIVE Starts scan automatically OLDNFS Removes long file names PREVIEW Runs Scandisk in preview mode SILENT Does not display summary screens Scripting a Windows 9x System Scan To automate a Scandisk scan of all system drives select Start Run and enter the following SCANDSKW ALLFIXEDDISKS NONINTERACTIVE SILENT Tip To automate a Scandisk of a single drive enter scandskw drive NONINTERACTIVE . Here drive is the drive to be scanned. Using to Convert Long File Names to Short To convert long file names to short file names select Start Run and enter the following SCANDSKW OLDNFS Warning This conversion is irreversible and is not recommended on system drives. Scripting Windows 9x Defrag When a file or folder is created or modified pieces of that file or folder are scattered throughout the hard disk. This is known as disk fragmentation. Although this behavior occurs naturally fragmentation does slow down data access time. Reorganizing these files or folders contiguously improves performance and is known as defragmentation. Microsoft 9x includes a scriptable defragmentation utility based on Norton Speed Disk. The command-line options are ALL Defrags all local drives CONCISE Displays the Hide Details view DETAILED Displays the Show Details view drive Drive to be defragged F Defrags files and free space NOPROMPT Unattended mode no prompts P Optimizes system and hidden files Q Defrags free space only U Defrags files only Scripting a Windows 9x System Defrag The following command automatically defrags all system drives DEFRAG ALL P CONCISE NOPROMPT Scripting Norton Antivirus 2000 .
đang nạp các trang xem trước