diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index 13c63da6..92babdc3 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -4,8 +4,8 @@ .DESCRIPTION This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. .EXAMPLE - PS> ./cd-crashdumps - 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) + PS> ./cd-crashdumps.ps1 + 📂C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,10 +20,10 @@ try { $path += "\AppData\Local\CrashDumps" if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } - Set-Location "$Path" + + Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - $folders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" + "📂$path with $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 687cfe0f..855c4ab1 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -151,6 +151,7 @@ function List-CLI-Tools { ListTool driverquery "" ListTool du "--version" ListTool echo "--version" + ListTool edit.exe "--version" ListTool egrep "--version" ListTool emacs "--version" ListTool env "--version"