home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 July & August
/
Pcwk78a98.iso
/
Registry
/
Mregchg
/
_SETUP.1
/
import.txt
< prev
next >
Wrap
Text File
|
1998-04-08
|
3KB
|
55 lines
Turn word wrap off to view this file in notepad
A comment is any line that does not start with "HKEY_" so, you can
basically type anything you want in the file without affecting the
outcome of the program.
The format of the this file is:
HIVE<TAB>KEY PATH<TAB>VALUE NAME<TAB>VALUE TYPE<TAB>VALUE
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp REG_SZ This is a test
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp2 REG_SZ This is test number two
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp3 REG_SZ This is test number three
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp4 REG_SZ This is test number four
REG_DWORD values can be entered as numbers or as hex as shown
HKEY_LOCAL_MACHINE \Software\Eytcheson Test REG_DWORD 12231
HKEY_LOCAL_MACHINE \Software\Eytcheson Test2 REG_DWORD 12232
HKEY_LOCAL_MACHINE \Software\Eytcheson Test3 REG_DWORD 12233
This next one is 12234 in hex and demonstrates how to enter hex values
HKEY_LOCAL_MACHINE \Software\Eytcheson Test4 REG_DWORD $2FCA
REG_MULTI_SZ is used to enter a list of information
into the registry. Each ';' in the VALUE portion will
be replaced with the null character as required by the
registry.
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp5 REG_MULTI_SZ This;is;a;test
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp6 REG_MULTI_SZ This;is;test;number;two
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp7 REG_MULTI_SZ This;is;test;number;three
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp8 REG_MULTI_SZ This;is;test;number;four
REG_EXPAND_SZ entries will be automatically expanded at run time by
the calling program.
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp9 REG_EXPAND_SZ %SYSTEMROOT%\File1.exe
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp10 REG_EXPAND_SZ %SYSTEMROOT%\File2.exe
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp11 REG_EXPAND_SZ %SYSTEMROOT%\File3.exe
HKEY_LOCAL_MACHINE \Software\Eytcheson Temp12 REG_EXPAND_SZ %SYSTEMROOT%\File4.exe
As recommended in the help file, it is fastest (but not required)
to group keys by hive.
The following will make entries in the .DEFAULT and any
locally logged-on users' registry keys on the selected computers.
HKEY_USERS \*\Software\Eytcheson Temp REG_SZ This is a test
HKEY_USERS \*\Software\Eytcheson Temp2 REG_SZ This is a test number two
HKEY_USERS \*\Software\Eytcheson Temp3 REG_SZ This is a test number three
HKEY_USERS \*\Software\Eytcheson Temp4 REG_SZ This is a test number four
(After you have tested these keys, you can change the VALUE TYPE's to *DELETE VALUE* and
these keys will be removed.)