Updated the cd-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2025-03-27 12:22:40 +01:00
parent 37fb994ed5
commit ea112a42bd
28 changed files with 135 additions and 82 deletions

View File

@ -14,7 +14,9 @@
try {
$path = Resolve-Path "~/Dropbox"
if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" }
if (-not(Test-Path "$path" -pathType container)) {
throw "No Dropbox folder at 📂$path - is Dropbox installed?"
}
Set-Location "$path"
"📂$path"
exit 0 # success