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
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
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.
Summary: hi, would you please show me how to write a command in a batch file to find a directory, e.g., wwwroot, in any disk drive, then assign the full path name to a variable. tia, jazzy ...
Summary: I need to delete the directory "Windows" from DOS. At the C: prompt, I typed erase C:\Windows but it didn't work? I can't remember these old commands. Thanks for the help....
Summary: I need to create a batch file in Windows 2000 to delete a directory and it's files. My problem, I don't know the switch to use to confirm deletion. I have the following in my batch file: del C:\Pro...