如何从另一台计算机上调用Exe [英] How Do I Call An Exe From Another Computer

查看:122
本文介绍了如何从另一台计算机上调用Exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dim pStart As New System.Diagnostics.Process


       pStart.StartInfo.FileName = "\\ntjpkccu2\Projects\Open Systems Management\COSMOS User Interface for Windows\4.2.9\bin\cos.exe"

       pStart.StartInfo.WorkingDirectory = "\\ntjpkccu2\Projects\Open Systems Management\COSMOS User Interface for Windows\4.2.9\bin\cos.exe" 'Set to where ever the files you want to convert are

       pStart.Start()

       pStart.WaitForExit()

推荐答案

参考



在远程PC上使用VB.NET运行可执行文件 [ ^ ]


你需要正确设置 FileName [ ^ ]和 WorkingDirectory [ ^ ] ProcessStartInfo [ ^ ] Process.Start [ ^ ]方法。
You need to properly set FileName[^] and WorkingDirectory[^] properties of ProcessStartInfo[^] input argument for Process.Start[^] method.


这篇关于如何从另一台计算机上调用Exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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