Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions scripts/Win_Chocolatey_List_Installed.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
rem List apps installed by Chocolatey

set "chocoExePath=%PROGRAMDATA%\chocolatey\choco.exe"

"%chocoExePath%" list
rem List packages installed by Chocolatey
%ChocolateyInstall%\bin\choco.exe list
2 changes: 1 addition & 1 deletion scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ param (
[string] $Mode = "install"
)

$chocoExePath = "$env:PROGRAMDATA\chocolatey\choco.exe"
$chocoExePath = "$env:ChocolateyInstall\bin\choco.exe"

if (-not (Test-Path $chocoExePath)) {
Write-Output "Chocolatey is not installed."
Expand Down