Login | |
|
 |
RE: vbscrip for finding application path. - 9/19/2006 1:47:34 AM
|
|
 |
|
| |
ebgreen
Posts: 4970
Score: 31
Joined: 7/12/2005
Status: offline
|
If you use WMI to retrieve the running processes, then you would have access to the Command Line that started the process. That is where I would star. You may also have to search the path for the first occurence of the file.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: vbscrip for finding application path. - 9/19/2006 11:35:18 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
You can also get the path to the app by reading the registry. This won't give you all exe, but should give you a large majority. hklm\software\microsoft\windows\currentversion\app paths\winword.exe (path)
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|