We help IT Professionals succeed at work.

Deleting files and folders in Windows

sarjeantbdos
sarjeantbdos asked
on
Medium Priority
156 Views
Last Modified: 2013-12-28
I want to forcibly delete files and folders in WinNT/win 2000. We can do this with UNIX, can we do the same with windows

When I try to delete, the error message says that the file is in use by another process.

We tried stopping several services and processes and we still get this error message.

Help!

Comment
Watch Question

Commented:
What are you trying to delete. You normally can delete most things except files that are in use.

Commented:
In this situation, you need to open the folder and delete the subfolders on at a time.
Be carefull not to delete anything windows needs.
Good Luck!
Commented:
Try to rename the file to a temporary name, and then delete that file name.  

Commented:
you only need delete the contents of the folders first.
if that wont work then try booting to dos and deleteing them from there.

Commented:
Also. there is a utility in the WIndows 2000 resource kit just for this purpose.

InUse - version 1.4
---------------------------------------------------------------------------
Copyright (c) 1994-1999 Microsoft Corporation. All rights reserved
Windows 2000 detected - WFP is enforced

INUSE  replacement  destination  [/y]

 replacement    Specifies the updated file
 destination    Specifies the existing file to be replaced
 /y             Suppresses confirmation prompt to replace file

 Source and destination must include the complete physical or UNC pathname


C:\Program Files\Resource Pro Kit>

Explore More ContentExplore courses, solutions, and other research materials related to this topic.