Answers for "path of powershell"

1

powershell script path

# Powershel 3+
$PSScriptRoot

# Powershell 2-
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
Posted by: Guest on September-21-2020
2

view to path powershell

$Env:Path -split ';'
Posted by: Guest on September-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language