Link to home
Start Free TrialLog in
Avatar of LEONEL ROCHA
LEONEL ROCHAFlag for Uruguay

asked on

remote app folder path

I'm developing an application that monitors the remote execution of another application and need to get the full path folder where such application is stored.

what would be the best way to get that info?
Avatar of ste5an
ste5an
Flag of Germany image

Avatar of FarWest
FarWest

do you have the source of the remote application?
Avatar of LEONEL ROCHA

ASKER

fryezz, nope
ste5an, I can't use tha api, because I'm using a development tool that generates the source code. I only can type c# source code, can't attach any extra DLL.
Well, you may take a look at WMI. There should be also a possibilty to qeuery the information,
you can use shell command to execute task list on remote computer
put it in a string and locate your application

wmic /node: /output:d:\process.txt process get description,executablepath

and check this url to call it remotely
http://www.petri.com/command-line-wmi-part-2.htm
ASKER CERTIFIED SOLUTION
Avatar of LEONEL ROCHA
LEONEL ROCHA
Flag of Uruguay image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
are both applications will run one same computer, where is remote in this case?
I've solved by myself
Can you explain how this solves your problem?