Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从unix shell脚本触发windows批处理脚本_Unix - Fatal编程技术网

从unix shell脚本触发windows批处理脚本

从unix shell脚本触发windows批处理脚本,unix,Unix,我有一个unixshell脚本,在它运行后,它会将一个文件ftp到windows服务器。然后我需要安排一个windows批处理脚本。您能给我建议一种方法吗?我可以从unix shell脚本中调用批处理脚本 提前感谢看看这个: 它特别谈到从另一台windows机器(而不是unix机器)调用windows程序,但概念是相同的,因为ssh也可以在unix上使用。您的意思是,您希望远程执行批处理脚本,对吗?从unix框中?为什么要用#java标记问题?如果要将Windows Shell脚本发送到Win

我有一个unixshell脚本,在它运行后,它会将一个文件ftp到windows服务器。然后我需要安排一个windows批处理脚本。您能给我建议一种方法吗?我可以从unix shell脚本中调用批处理脚本

提前感谢

看看这个:


它特别谈到从另一台windows机器(而不是unix机器)调用windows程序,但概念是相同的,因为ssh也可以在unix上使用。

您的意思是,您希望远程执行批处理脚本,对吗?从unix框中?为什么要用#java标记问题?如果要将Windows Shell脚本发送到Windows服务器并希望它在该服务器上运行,则必须在该服务器上设置服务才能执行此操作。您可以查看Windows Remote Shell,看看它是否合适:是的,thejh,我想从unix框中执行或调用Windows批处理脚本。