我想用python打开一个命令提示符,然后我需要在这个命令提示符上运行一个命令来启动一个应用程序。在
在Windows服务器上尝试并输入以下命令时,输入命令2008R2并输入错误代码:
'C:\Windows\System32\CompMgmtLauncher.exe' is not recognized as an internal or external command, operable program or batch file.
我的代码:
Popen(["start", "/MAX","cmd.exe"], shell=True)
wait(3)
print("Starting Application")
type("c:\\Windows\\System32\\CompMgmtLauncher.exe")
type(Key.ENTER)
请帮忙解决这个问题。在
目前没有回答
相关问题 更多 >
编程相关推荐