Computing.Net > Forums > Disk Operating System > Unable to delete a directory

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unable to delete a directory

Reply to Message Icon

Name: David
Date: November 5, 2002 at 22:13:42 Pacific
OS: dos
CPU/Ram: 386
Comment:

I am trying to delete a directory that seems to be corrupt, but when I dosdel I am told the directory cannot be deleted. When I try to list the files in the directory, I am told that is not possible. I can rename the directory, but if I try to move it I am told that the source directory cannot be opened. ANY HELP APPRECIATED



Sponsored Link
Ads by Google

Response Number 1
Name: jboy
Date: November 5, 2002 at 22:26:13 Pacific
Reply:

You could try deltree or use the DOSSHELL gui,
although if you use DOSSHELL, you'd have to delete all the files and subdirectories first - which might not be possible.

Best is:

deltree /y c:\yourdir

(of course, put the real directory name in)


0

Response Number 2
Name: Old Jake
Date: November 6, 2002 at 03:15:33 Pacific
Reply:


DOS Controller, a small file manager available here on the Arachne site helps in these situations. It's an ARJ archive, openable with Winzip.


0

Response Number 3
Name: Mike Newcomb
Date: November 6, 2002 at 13:08:14 Pacific
Reply:

Check out dos help for the ATTRIB command, which might be the cause your problem.

Also have a look at DELTREE and RD.

Good luck - keep us posted.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Mounting CVF Boot from CD-Rom USB



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Unable to delete a directory

how to find a directory www.computing.net/answers/dos/how-to-find-a-directory/14132.html

How do you delete a directory in dos? www.computing.net/answers/dos/how-do-you-delete-a-directory-in-dos/9742.html

Batch file to delete in Window 2000 www.computing.net/answers/dos/batch-file-to-delete-in-window-2000/11924.html