Now Windows XP systems can do automatic maintenance just fine. Here is a technique for automatic maintenance through .inf files. The specific content of automatic maintenance can be set arbitrarily, but it requires commands to implement. For example, use Xcopy for file backup, Defrag for disk defragmentation, Del to delete junk files, and so on. In order to clarify the principle, let's take Defrag as an example. You can modify it according to your needs.
Implementation Steps
1. Create the Main.bat file
Log in to Windows XP as an administrator and create a new name called Main.bat in the root directory of the system disk. The file (the file name can be taken at random, the same below) and enter the following:
cd\\
C:
cd Windows\\system32
defrag C : /f
chkntfs C:
2. Create the Main.inf file
Create a new file named Main.inf and type:
[version]
Signature= "$CHICAGO$"
AdvancedINF= 2.5,"advpack.dll"
[DefaultInstall]
RunPreSetupCommands =Tst.PreSetup
RunPostSetupCommands=Tst.PostSetup
[Tst.PreSetup]
C:\\Main.bat
[Tst.PostSetup] < Br>
C:\\WINDOWS\\SYSTEM32\\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN
In this file Signature must be set to & rdquo; $ CHICAGO $ & rdquo ;, otherwise the file will not work.
Previous 12 Next Total 2 Pages
Just reloading the ghost system, when using the headset, the front audio jack has n
The computer access to the WinXP system is a broadband connection, and dial-up can
The following tips are mainly used to change some of the most frequently encountered projects when u
Word is really powerful in terms of functionality, but there are some unsatisfactor
WinXP playing the Age of Empires 2 flower screen reasons and processing methods
Teach you why you must press F1 to enter system
What should I do if the WinXP system RPC server is unavailable?
How to run DOS program method in Windows XP
A handy way to make your excel form can only be seen can not be changed
How to solve broadband 678 error under WinXP system
Xp system download SCSI hard disk installation, startup, setup tutorial
WinXP web games can't be played?
WinXP clicks on the thumbnail, how to deal with no file name?
Windows XP Tips Cancel the "Low Disk Space" prompt
Win10 Explorer Address Bar Opens Common Tools Method
Linux technology: vim display line number, syntax highlighting, automatic indentation settings
Based on Vista and then upgrade: Win7 UAC Detailed
Win10 system uses Xbox to record game video
Win7 How to set the Guest account to make your computer more secure
How to solve the actionscript error in WinXP?
Win 7 start menu input command to start various programs
Win7 batch delete C disk log log file method
Wonderful graphic introduction of Win2008 system audit function