gepebril69 has asked for the wisdom of the Perl Monks concerning the following question:
Hi there
I try to automate some stuff on Windows. One of this items is dumping the Windows registry to a file. When being admin (in cli and running Perl code) the output differs over 100Mbyte. The output on CLI is bigger.
On command line
regedit /e /y e:\temp\regdump.reg # result file(332Mb)In Perl
$DumpFile = "e:\\temp\\registry.reg"; system("regedit", "/e", "/y", $DumpFile); #(resultfile 208Mb)
What am I doing wrong?/Bug in Perl/Something else?
I'm running on Windows 8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: registry dump to file output differs from DOS cli and system ?
by Discipulus (Canon) on Mar 05, 2015 at 08:38 UTC | |
by gepebril69 (Scribe) on Mar 05, 2015 at 13:18 UTC | |
by Discipulus (Canon) on Mar 06, 2015 at 08:25 UTC | |
by gepebril69 (Scribe) on Mar 10, 2015 at 07:29 UTC | |
|
Re: registry dump to file output differs from DOS cli and system ?
by GotToBTru (Prior) on Mar 05, 2015 at 19:54 UTC |