Updated the close-* files

This commit is contained in:
Markus Fleschutz 2020-12-28 09:34:20 +00:00
parent b425425da0
commit 6207a06a35
5 changed files with 15 additions and 10 deletions

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
$ExitCode = close-program.ps1 "chrome"
exit $ExitCode
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
Start-Process -WorkingDirectory "$PathToRepo/Scripts" -FilePath "close-program.ps1" -ArgumentList "chrome" -NoNewWindow -Wait

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
$ExitCode = close-program.ps1 "msedge"
exit $ExitCode
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
Start-Process -WorkingDirectory "$PathToRepo/Scripts" -FilePath "close-program.ps1" -ArgumentList "msedge" -NoNewWindow -Wait

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
$ExitCode = close-program.ps1 "explorer"
exit $ExitCode
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
Start-Process -WorkingDirectory "$PathToRepo/Scripts" -FilePath "close-program.ps1" -ArgumentList "explorer" -NoNewWindow -Wait

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
$ExitCode = close-program.ps1 "thunderbird"
exit $ExitCode
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
Start-Process -WorkingDirectory "$PathToRepo/Scripts" -FilePath "close-program.ps1" -ArgumentList "thunderbird" -NoNewWindow -Wait

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
$ExitCode = close-program.ps1 "WindowsTerminal"
exit $ExitCode
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
Start-Process -WorkingDirectory "$PathToRepo/Scripts" -FilePath "close-program.ps1" -ArgumentList "WindowsTerminal" -NoNewWindow -Wait