Re: Force Delete of a file.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Phillip Vong" <phillip_vong*at*yahoo*dot*com> wrote in message
news:%23MUNaqmsGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
I have a 3rd party software that creating file that is not needed and this
file is causing problems. I've asked the vendor and they said all I have
to
do is delete this file. When ever I try to delete the file, I get the
error
message of "Cannot delete (filename): It's being used by another person
or
program. Close all programs...blah blah." It's the standard message. I
have to reboot the server and then I can delete it. The vendor said I can
force delete and then I wouldn't have to reboot the server.

Is there a way to force delete of this file in the command prompt? If
so,
I can then create a simple batch that will run every hour to delete it.

Thanks!



Kill the process that locks the file, then delete the file. You
can use oh.exe (Windows 2000 Resource Kit) to find out
which process locks the file.


.



Relevant Pages

  • Force Delete of a file.
    ... I've asked the vendor and they said all I have to ... It's the standard message. ... force delete and then I wouldn't have to reboot the server. ...
    (microsoft.public.windows.server.general)
  • Another disaster recovery exercise (but not yet)...
    ... I updated a client's Server. ... indeed, I reboot before updating, and after ). ... Chkdsk is all good on all drives. ... Enabling boot logging option at boot - well, ...
    (microsoft.public.backoffice.smallbiz2000)
  • RE: Event 19011: SBS Monitoring services wont auto-start
    ... automatically start when rebooting the SBS server. ... Let us ensure the MSSQL$SBSMONITORING service and the Microsoft Exchange ... Please clean the Event logs in event viewer and then reboot the server, ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Delayed email from outside vendor or not arriving at all
    ... I understand that one vendor send email to ... your client will get Delivery Status Notification. ... I suggest we track the not receive email in your client SBS 2003. ... How to Enable Message Tracking Center on a Server ...
    (microsoft.public.windows.server.sbs)
  • Re: Another disaster recovery exercise (but not yet)...
    ... Do the full system state restore. ... I updated a client's Server. ... > indeed, I reboot before updating, and after ). ... Still very slow boot time and many ...
    (microsoft.public.backoffice.smallbiz2000)