open files locked prevent winzip

R

ralph L

Hi All
We have a problem where one of our programs is some how keeping
files open preventing WinZip from including the file into the ".zip"
file. Other than fixing the offending program or restarting the system
which clears the open files, is there a windows utility that allows
you to find all "open" files and to release certain file(s) in a
directory ?

Thanks in advance

Ralph
 
C

Carrie Garth \(MVP\)

Hi Ralph,

There are a variety of diagnostic tools that you can use to try and 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

- Open Handles
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 the "additional information" article: 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 Tool files on
the Windows 2000 operating system CD. For information about installing and using the
Windows 2000 Support Tools and Support Tools Help, see the file Sreadme.doc in the
\Support\Tools folder of the Windows 2000 operating system CD. Or you can download
the Support Tools by clicking the following link, then clicking on the link for your
Service Pack Level, then clicking the link for Support Tools.

Windows 2000 Service Packs
http://www.microsoft.com/windows2000/downloads/servicepacks/

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "ralph L" <ralphlov AT aol DOT com>
: Wrote in message : Sent: Sunday, September 14, 2003 9:01 PM
: Hi All
: We have a problem where one of our programs is some how keeping
: files open preventing WinZip from including the file into the ".zip"
: file. Other than fixing the offending program or restarting the system
: which clears the open files, is there a windows utility that allows
: you to find all "open" files and to release certain file(s) in a
: directory ?
:
: Thanks in advance
:
: Ralph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top