0

所以我用这个控制台命令使用特定应用程序打开一个文件,然后传递一个参数(间隔使用,使其更清晰)如何将此命令行代码转换为在PowerShell ISE 2.0中运行?

start C:\"Documents and Settings"\User\"My Documents"\Application_folder\Application.exe 

"C:\Documents and Settings\user\My Documents\file_folder\file.type" 

"Parameter1" 

现在我希望能够调用此相同命令,但在PowerShell ISE中。我尝试了一些变化,但没有工作。我并不是那么熟悉PowerShell,所以任何人都可以为我学习如何做到这一点?

回答

0

如何

& 'C:\Documents and Settings\User\My Documents\Application_folder\Application.exe' "C:\Documents and Settings\user\My Documents\file_folder\file.type" "Parameter1"