ディレクトリを開く
ディレクトリを開くには Invoke-Item コマンド、または Start-Process コマンドに引数としてフルパス文字列を指定します。
Invoke-Item を使ってディレクトリを開く
$the_dir = "c:/tmp"
Invoke-Item $the_dirStart-Process を使ってディレクトリを開く
$the_dir = "c:/tmp"
Start-Process $the_dirディレクトリを開くには Invoke-Item コマンド、または Start-Process コマンドに引数としてフルパス文字列を指定します。
$the_dir = "c:/tmp"
Invoke-Item $the_dir$the_dir = "c:/tmp"
Start-Process $the_dir