Update the cd-* scripts

This commit is contained in:
Markus Fleschutz
2021-09-12 22:04:38 +02:00
parent 439387b735
commit cb35d425c5
18 changed files with 19 additions and 19 deletions

View File

@ -19,7 +19,7 @@ function Get-CurrentUserSID { [CmdletBinding()] param()
$TargetDir = 'C:\$Recycle.Bin\' + "$(Get-CurrentUserSID)"
if (-not(test-path "$TargetDir" -pathType container)) {
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
write-warning "Sorry, the user's recycle bin folder at 📂$TargetDir does not exist (yet)"
exit 1
}
set-location "$TargetDir"