-
October 13th, 2003, 08:53 AM
#1
how can i show full path of the files that runs?
i want to show runnig files or directories full path in the list box.
i can catch the handle numbers of running programs. but i cant find the full path.
example:
"c:\ABC\sample.doc" ' for opened files
"c:\TOOLS" ' for opened directories
can anyone help?
-
October 13th, 2003, 09:00 AM
#2
Hi!
Take a look at API GetModuleFileName (MSDN):
The GetModuleFileName function retrieves the full path and file name for the file containing the specified module.
......
Victor
-
October 13th, 2003, 09:34 AM
#3
i lost the code that givs handle numbers for running files.
i lost my code for handle numbers.
can anyone write the code that lists running programs handle numbers in a listbox?
thanx
-
October 13th, 2003, 10:01 AM
#4
MSDN:
"HOWTO: List Running Processes"
"SAMPLE: MODLIST.EXE Shows How to Enumerate Processes and Modules"
"HOWTO: Enumerate Applications in Win32"
Victor
-
October 14th, 2003, 04:13 AM
#5
cant u write a small code that lists running files handle numbers?
thanx victor.
-
October 14th, 2003, 04:20 AM
#6
Haven't you found the code in MSDN ???
"HOWTO: List Running Processes"
"SAMPLE: MODLIST.EXE Shows How to Enumerate Processes and Modules"
-
October 14th, 2003, 05:06 AM
#7
if i found it on the msdn, i didnt write again to forum.
-
October 14th, 2003, 05:25 AM
#8
ok.i found them, but:
it gives "c:\program files\...\winword.exe"
i want to display running word files full path.
like this "c:\abc\sample.doc"
also want to display opened directories.("c:\abc\xyz")
-
October 14th, 2003, 05:42 AM
#9
Hi!
Never did this
Probably, you have to use Automation to obtain file information you want.
Regards,
Victor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|