Search notes:

op-reg-at.pl

A Perl script to open the windows registry with regedit.exe at a particular registry key.
The script is used like so:
c:\> op-reg-at.pl HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

op-reg-at.pl

use warnings;
use strict;

use Win32::TieRegistry (Delimiter => '/');

my $reg_path = shift or die "Specify registry path";

$Registry -> {'HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Applets/Regedit/LastKey'} = $reg_path;
system('regedit');
Github repository scripts-and-utilities, path: /op-reg-at.pl

See also

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit: LastKey
regat.bat: a cmd.exe batch file that does the same thing.
Perl module Win32::TieRegistry
Scripts

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759384069, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/scripts/personal/op-reg-at_pl(64): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78