Tweaking
your Windows Registry
Last
updated on March 09, 2000 by Thomas
McGuire - Page 2/9
Files=x,
this entry does not
exist by default, and is used to specify additional files
you want to back up in the .cab file. To specify additional
files to be backed up, type Files=<folder code>,
<file name>, where <folder code> is the
numerical code for the folder in which the file you want to
back up is located, and <file name> is the name of the
file you want to back up. If you want to back up multiple
files in the same location, separate each file name using a
comma (,) & no spaces.
The
following table lists the possible folder codes:
Folder
code
Folder
------------------------------------------------------------------------------------------
10
<windows> (e.g., Windows)
11
<windows>\System (for example, Windows\System)
30
Root folder (for example, c:\)
31
Root host folder (for example, c:\)
E.g.
if you want to back up the 3d Maze.scr and Actmovie.exe
files located in the Windows\System folder, type the
following line:
Files=11,3d
maze.scr, actmovie.exe
If
you want to back up the Asd.log file located in the root
folder of your C drive, type the following line:
Files=30,asd.log
Running
scanreg
To
run Scanreg in windows do the following. Click on Start,
Run
& type in C:\Windows\Scanregw.exe.
This is where scanregw is located by default, so change it
if your Windows directory is located elsewhere.
Hit
Ok
& scanregw will be launched & will check your
registry for errors. When finished (it only takes about 10
seconds to scan for errors) you will be given the options, Yes
or No,
simply choose
if you would like to backup the registry or not.
Scanreg
however can be made do this during bootup. Open regedit
(click
on Start,
Run,
type in regedit)
&
go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run].
Add a new
String
value
entitled Registry
checker (or
whatever you want to call it) & give it a value of scanregw.exe
/autorun
& select Ok.
Now when you reboot your PC the Registry checker will run
& make backups/optimization as you have set out in your Scanreg.ini.

Go
to next page
|