Hi Ryan,
You may be able to resolve this issue by determining the process that has the open
handle and closing that process, before deleting the file. There are a variety of
diagnostic tools that you can use to determine what process has the open handle. For
a tool with a GUI, see Sysinternals "Process Explorer". And for a command-line tool
see Sysinternals "Handle" or Microsoft's "Open Handles".
- Process Explorer
Copyright © 1998-2002 Mark Russinovich
Find out what files, registry keys and other objects processes have open, which DLLs
they have loaded, and more. This uniquely powerful utility will even show you who
owns each process.
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
- Handle
Copyright © 1997-2001 Mark Russinovich
This handy command-line utility will show you what files are open by which processes,
and much more.
http://www.sysinternals.com/ntw2k/freeware/handle.shtml
- For information on Microsoft's "Open Handles" tool (oh.exe), see the following
Microsoft Knowledge Base Article, section titled: "Cause 2: The File Is Being Used",
and link to KB172710:
KB320081 - You Cannot Delete a File or a Folder
http://support.microsoft.com/?scid=320081
NOTES:
- The OH Tool discussed in KB172710 can be found on the Windows 2000 Professional
Resource Kit companion CD. Or you can download it as "Windows 2000 > Technical
Resources > Resource Kits: Free Tool Downloads". For more information, see the
following Microsoft Knowledge Base Article:
KB274305 - Free Windows 2000 Resource Kit Tools for Administrative Tasks
http://support.microsoft.com/?scid=274305
- The gflags.exe program discussed in KB172710 is one of the Support Tools included
on the Windows 2000 CD (see Windows 2000 Help topic "To install Windows 2000 Support
Tools").
--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g
: "ryan" <ryanlee AT adcess DOT com>
: Wrote in message : Sent: Tuesday, July 29, 2003 03:47 AM
: hi,..
: i always have these problem where i unable to delete files,
: it keep give me an error of some user or program and using the file....
: but instead... i just restart and make sure that no user and application
: using the file.
: i still cant delete it.. i connect to network even i unplug the network
: cable still the same..
: anyone know y...