Fix broken regedit paths
This commit is contained in:
parent
ac09e5ab1b
commit
611c3e872e
|
@ -26,7 +26,7 @@ $null = New-Module {
|
|||
[string] $path = $null;
|
||||
|
||||
if ($UserKey) {
|
||||
$path = "$($UserKey.PSPath)\$runOncePath";
|
||||
$path = Join-Path ($UserKey.PSPath) $runOncePath;
|
||||
} else {
|
||||
$path = $systemRunOncePath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue