08-29-2008 08:24 AM
08-29-2008 09:33 AM
08-29-2008 10:20 AM
Hi dylan,
Right click the exe--->properties--->Find target will give you the file path.
08-29-2008 10:25 AM
08-29-2008 10:38 AM
Call tasklist.exe from the system exec and search for the app.exe you are looking for. See below:
08-29-2008 11:00 AM
That will simply indicate if the program is already running, and the user's statement "I can check to see if it is running" to me implies that they already know how to find out if it's running.
His issue is to start the application if it's not running, but he doesn't necessarily know the path to the program because when this other program gets installed the user may have selected a non-default installation path, and he needs to know how to figure out what the path to the executable is in order to start it. This is no different than patching systems that need to determine where an application got installed. This information is in the registry assuming a standard installation program was used.
08-29-2008 02:44 PM
08-30-2008 02:11 AM
08-30-2008 10:43 AM
Does this exe have a data file linked to it? Like VI is linked to LabVIEW.exe.
If it is, then you just need to create a dummy data file in this type at a known path. Then open the data file. Window will use the register exe to open it.
If not, you just have to do a search to find the exe.
George Zou
http://www.geocities.com/gzou999/
09-01-2008 07:06 AM
Thanks for your help, but although I have searched the registry, I cannot find the information (Path) I am looking for. I am experienced in working with the registry, but I expected to ba able to find the path within it (Iknow where the file is on this machine) butr unfortunately I have been unable to do this.
Any ideas/help would be appreciated