> 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.
>-----Original Message-----
>In microsoft.public.win2000.registry mbeebe@sterling-
engineering.com
>wrote:
>
>> 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.
>.
>
> 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"=-
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q8
2/8/21.ASP&NoWebContent=1
>-----Original Message-----
>Where can i find the listing of regedit command-line
>swtiches (and their meaning)?
>.
>
Just to note that some of those switches are W9x-specific and (AFAIK)
cannot be used with regedit (4/5) on NTx platforms.
> try:
>
> http://support.microsoft.com/default.aspx?
> scid=http://support.microsoft.com:80/support/kb/articles/Q8
> 2/8/21.ASP&NoWebContent=1
"The information in this article applies to:
Microsoft Windows 3.1
Microsoft Windows 3.11
"
> Just to note that some of those switches are W9x-specific and (AFAIK)
> cannot be used with regedit (4/5) on NTx platforms.
Yes, http://www.winguides.com/article.php?id=1&page=4&guide=registry states
that /C and /D is for Windows 98.