On Friday, May 13, 2022, 01:50:12 PM EDT, Denis Excoffier 
<cyg...@denis-excoffier.org> wrote: 

> It seems that very recently (immediately after i installed 3.3.5),
> /cygdrive/c/windows/regedit /E 'HKEY_CURRENT_USER\Environment'
> no longer works (i.e. should dump the environment on stdout), and produces a 
> pop-up window with:

> Cannot export HKEY_CURRENT_USER\Environment: Error opening the file. There 
> may be a disk or file system error.


Note: this fails the same way from cmd.

regedit /e --- Exports the entire registry to a file. You can modify this 
command to add a filename and specific location on the drive, such as regedit 
/e c:\AllRegistryEntries.reg. You can export a specific key with the following 
example command regedit /e keybackup.reg 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Edge.

You cannot use con: as the output file apparently.

Kevin


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to