0

I have developed a application that is running on computer A. I have a computer B with a running version of visual studio (where I designed the application).

What I got is, when I built my application on computer B, it deploys it to computer A (by a shared network folder.

now, the thing I want now is using the pre-built and post-built commands in visual studio to call a batchfile. The pre-built command batchfile needs to kill the application (if it is running) on the remote computer (computer A) i think this can be dont by processid, or processname. The post-built command batch file needs to start the "fresly" built app on the remote computer. but I dont't really know where to start,

How do i accomplish something like this?

Bart Teunissen
  • 1,420
  • 5
  • 20
  • 43

1 Answers1

1

You can achieve this using PsTools.

PsKill and PsExec, respectively, are the tools you are looking for.

Here is a similar question about starting remote processes

Community
  • 1
  • 1
J.Hudler
  • 1,238
  • 9
  • 26