SKey2 = Replace(sKey1, "\\", "\ExplorerCommandHandler") If ($Ke圓.SubKe圜ount -eq 0 -and $Ke圓.ValueCount -eq 0) \\" $Item = $Folder.ParseName((Get-Item $Target).Name) $Folder = $Shell.Namespace((Get-Item $Target).DirectoryName) $Shell = New-Object -ComObject "Shell.Application" $Key4 = $Ke圓.CreateSubKey($KeyPath4, $true) $Ke圓 = $Key2.CreateSubKey($KeyPath3, $true) $Key2 = (Get-Item $KeyPath1).OpenSubKey($KeyPath2, $true) ("HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\" ` Very nice! I made a few small tweaks to that powershell example, I hope you don't mind :) param (
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |