Yes and no. Yes, it's supposed to be on one line like that so it can run from the registry. No, it's not a normal command line, it will not work from the cmd.exe prompt without modification (mainly the removal of registry escape characters). Here is .cmd and .ps1 version, not as clean IMO as this will require an actual file on your computer vs the shell ext using the registry to store the snippet. .cmd Code: start /wait /b powershell -command "Clear-Host;$CLIPPY = PowerShell -NoProfile -STA -Command {[reflection.assembly]::loadwithpartialname('PresentationCore') | Out-Null;[Windows.Clipboard]::GetText()};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKCU', 'HKEY_CURRENT_USER'};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKLM', 'HKEY_LOCAL_MACHINE'};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKCR', 'HKEY_CLASSES_ROOT'};Set-ItemProperty -Path 'registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit' -Name LastKey -Value $CLIPPY;regedit.exe /m;" exit .ps1 Code: Clear-Host;$CLIPPY = PowerShell -NoProfile -STA -Command {[reflection.assembly]::loadwithpartialname('PresentationCore') | Out-Null;[Windows.Clipboard]::GetText()};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKCU', 'HKEY_CURRENT_USER'};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKLM', 'HKEY_LOCAL_MACHINE'};$CLIPPY = $CLIPPY | Foreach-Object {$_ -replace 'HKCR', 'HKEY_CLASSES_ROOT'};Set-ItemProperty -Path 'registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit' -Name LastKey -Value $CLIPPY;regedit.exe /m; #
Neat trick M8 but Not showing me both sides of the registry. Example Code: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run 32 bit CurrentVersion\Run 64 bit CurrentVersion\Run. Yours shows this side The way I do that with my little Jump2reg program is Wow64RevertWow64FsRedirection Might have to borrow that from you and maybe redirect it into my program, always looking to improve it. I remember you saying I ought to capture the reg string if someone highlight in Doze and send to my app but I have had too much to chew on. EDIT: I have the .wimrightclick finished but haven't uploaded yet. Using some of your stuff in it.
Slow and Steady wins the race. That sounds like something I would have suggested, guess after 3 years I finally got around to doing it myself. I'm nothing if not persistent. Go ahead and steal it, it's not a problem.
Nircmd, yeah I used a long time ago but I want something easy instead of commandline. Yeah that was a long time back you mentioned that. If you wanted to fix and I guess just have a second clickable link? "Open 32 bit Registry Gangnam Style" As much as I tinker in the registry tracing program installation changes guess still need to use mine for my bookmarks, ability to search, it's tiny. All in one
Is that all you need and the keys will be writeable? Off the top of my head Trusted Installer owns this Full. I usually use setacl change then set back HKCR\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder