Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filepaths

Status
Not open for further replies.

cwalshe

Programmer
May 28, 2001
84
0
0
IE
hi there,

I am wondering if it is possible to retrieve all filepaths of any open files.

Thx,

Cormac.
 
Hi cwalshe,

If you mean "can I find out the paths of all files which somesome else has open" then the answer is yes.

You can use the FSO (FileSystemObject) to navigate thru all the drives, directories and files and, for each file, if you attempt to open it for write access, you will get a trappable error if some other user on the system is reading/writing to it.

Hope this helps,

Charny.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top