Updated the open-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2025-07-09 15:09:20 +02:00
parent b3775f3b30
commit 6fa5a3557b
85 changed files with 234 additions and 66 deletions

View File

@ -4,13 +4,15 @@
.DESCRIPTION
This script launches the File Explorer with the user's home folder.
.EXAMPLE
PS> ./open-home-folder
PS> ./open-home-folder.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
#requires -version 5.1
try {
$TargetDir = resolve-path "$HOME"
if (-not(test-path "$TargetDir" -pathType container)) {