是否可以执行远程批处理文件? [英] Is it possible to execute a remote batch file?

查看:133
本文介绍了是否可以执行远程批处理文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能不使用任何工具执行远程批处理文件(我不希望使用PSEXEC)我已经试过这一个,但没有工作:

  NET USE Y:\\\\ machine01 \\ C $通\\用户:admin
j:\\ batch.bat


解决方案

解决这个问题的解决方案是使用 PSEXEC 。我无法想象,你为什么会不希望用于作业的最佳工具。

Is it possible to execute a remote batch file without using any tool?(I don't want to use psexec) I've tried this one but didn't work:

net use j: \\machine01\c$ pass \user:admin  
j:\batch.bat

解决方案

The solution to this is to use psexec. I can't imagine why you wouldn't want to use the perfect tool for the job.

这篇关于是否可以执行远程批处理文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆