不同的文件有不同的打开类型。最基本的是gc xxx.txtgc是Get-Content 指令的简称。其余的还有以csv,xml方式打开等等。
比如说打开 C:\Windowsstart C:\Windows (等价于 Start-Process C:\Windows )Invoke-Item C:\Windowsexplorer C:\Windows