|
-
October 28th, 2008, 12:20 AM
#1
how to get parent process information
Hi Friends,
I want to delete all the files in the given directory, i did that.
But while deleting some files it shows error like 'This file is used by another program'. So i want to kill the process which holding this file..
I can get the parent ID if i know the child id or child name, but here I know only file name...If i get the parent process id i can kill that process and delete the file...
Give me the idea to get the parent id by giving file name or deleting the busy file
Please help me,
Thanks,
Riyas.B
Growing Developer
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
|