Delete a Entire Reg Directory using Perl
问题 I would like to Delete the Registry in Windows Machine using a perl command. How can I do that . I tried few command from Internet it is getting executed but not deleted Please provide help !! The below code executes , but doesn't delete the Reg Key use warnings; use strict; use Win32::TieRegistry( Delimiter=>"/", ArrayValues=>0 ); my $myway= delete $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/Keypath"}; print "Done"; 回答1: First you need the right permission to delete a registry key (try run the