M
mbeebe
Where can i find the listing of regedit command-line
swtiches (and their meaning)?
swtiches (and their meaning)?
Where can i find the listing of regedit command-line
swtiches (and their meaning)?
-----Original Message-----
In microsoft.public.win2000.registry mbeebe@sterling- engineering.comwrote:
Where can i find the listing of regedit command-line
swtiches (and their meaning)?
regedit.exe [/s /e /a ] regfile "path-to-key" (W2k/XP)
/s silent
regedit /s <Drive:>\FolderName\FileName.reg
/e export
regedit /e "<Drive:>\FolderName\FileName.reg" "KeyPath"
/a ANSI format
regedit /a "<Drive:>\FolderName\FileName.reg" "KeyPath"
From my notes. I have no link handy.
.
[email protected] said:Where can i find the listing of regedit command-line
swtiches (and their meaning)?
In said:[email protected] said:Where can i find the listing of regedit command-line
swtiches (and their meaning)?
Hi
Command line use of Regedit:
http://www.winguides.com/article.php?id=1&page=4&guide=registry
Here is the documentation I have collected on regedit.exe through
time:
Exporting:
REGEDIT filename1
REGEDIT /C filename2
REGEDIT /E filename3 [regpath1]
REGEDIT /E:A filename3 [regpath1]
REGEDIT /A filename3 [regpath1]
REGEDIT /D regpath2
/L:system Specifies the location of the SYSTEM.DAT file.
'Can be added
on the command line
/R:user Specifies the location of the USER.DAT file.
'Can be added
on the command line
filename1 Specifies the file(s) to import into the
registry.
/E filename3 Specifies the file to export the registry to.
/E:A and /A Specifies ASCII output for W2k/WXP
regpath1 Specifies the starting registry key to export
from.
(Defaults to exporting the entire
registry).
Importing:
REGEDIT filename1 filename2 filename3 ....
REGEDIT /s "filename1" [filename2 filename3 ....] ' /s = silent
You can delete with registry files !!!!
Delete key:
[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
Delete value:
[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-
In said:try:
http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q8
2/8/21.ASP&NoWebContent=1
Mark said:Just to note that some of those switches are W9x-specific and (AFAIK)
cannot be used with regedit (4/5) on NTx platforms.