mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 14:18:38 +01:00
Fix typo
This commit is contained in:
parent
840dd7f3cc
commit
32d2b76abb
@ -12,7 +12,7 @@
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Autostart"
|
||||
$TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, the user's autostart folder at 📂$TargetDir does not exist (yet)"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user