We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5a0a84 commit 6b8c399Copy full SHA for 6b8c399
get.ps1
@@ -54,7 +54,7 @@ function Install-FileManager {
54
if ((Get-Command "pandoc.exe" -ErrorAction SilentlyContinue) -eq $null) {
55
$path = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
56
$path = $path + ";$folder"
57
- Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH –Value $path
+ Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value "$path"
58
}
59
60
Write-Host "filemanager successfully installed!" -ForegroundColor Green
0 commit comments