如何按vb6中的进程ID获取打开文件句柄列表?
我有兴趣挖掘并获取文件名。
寻找程序化等效的进程资源管理器。
提前致谢
答案 0 :(得分:0)
Shell ("c:\...\handle.exe ... >> " & app.path & "\tmp.txt",vbHide)
'...Write something which will get contents from App.path & "\tmp.txt" ...
'...Wait some time ,because killing the file at this moment
'will bring an error
Kill App.Path & "\tmp.txt"