小编YAM*_*YAM的帖子

PsExec 未被识别为内部或外部命令

我有一份工作需要在远程计算机上运行脚本。我是通过“执行 Windows 批处理命令”使用 psexec 来实现的:

C:\PsExec.exe \\computername -u username -p password -accepteula c:\xxx.exe
Run Code Online (Sandbox Code Playgroud)

当我运行作业时,出现以下错误:

c:\PsExec.exe is not recognized as an internal or external command
Run Code Online (Sandbox Code Playgroud)

**PsExec.exe位于c:\

有任何想法吗?

jenkins

5
推荐指数
2
解决办法
2万
查看次数

标签 统计

jenkins ×1