我相信这一定是可能的,但我不知道该怎么做。
有线索吗?
我相信这一定是可能的,但我不知道该怎么做。
有线索吗?
当前回答
start explorer.exe
简单的单行命令
其他回答
$startinfo = new-object System.Diagnostics.ProcessStartInfo
$startinfo.FileName = "explorer.exe"
$startinfo.WorkingDirectory = 'D:\foldername'
[System.Diagnostics.Process]::Start($startinfo)
希望这能有所帮助
start explorer.exe
简单的单行命令
Use:
ii .
简称为
Invoke-Item .
这是我在PowerShell命令行中最常键入的内容之一。
explorer .
这是唯一符合我的独特限制,希望文件夹打开作为一个Quizo标签在任何现有的资源管理器窗口。
$objShell = New-Object -ComObject "Shell.Application"
$objShell.Explore("path")