mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 00:54:04 +01:00
Add open-g-drive.ps1
This commit is contained in:
parent
8aef2ef324
commit
983e8dae97
@ -39,7 +39,7 @@ When finished say: "Close tab" or: "Computer, close [name] browser" to close the
|
||||
|
||||
`Computer, open` [name] `drive`
|
||||
-------------------------------
|
||||
Launches the File Explorer with the given drive - replace [name] by: `C:`, `D:`, `E:`, `F:`, or `M:`.
|
||||
Launches the File Explorer with the given drive - replace [name] by: `C:`, `D:`, `E:`, `F:`, `G:`, or `M:`.
|
||||
|
||||
When finished say: "Computer, close file explorer" to close the File Explorer.
|
||||
|
||||
|
15
Scripts/open-g-drive.ps1
Normal file
15
Scripts/open-g-drive.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Opens the G: drive folder
|
||||
.DESCRIPTION
|
||||
This script launches the File Explorer with the G: drive folder.
|
||||
.EXAMPLE
|
||||
PS> ./open-g-drive
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-file-explorer.ps1" "G:"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user