Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

using DOS to delete a folder

Original Message
Name: ryry1283
Date: November 12, 2005 at 18:08:52 Pacific
Subject: using DOS to delete a folder
OS: Windows ME
CPU/Ram: 320 MB
Comment:
I am trying to force a folder to delete. Here's the story:

I was copying a folder with music in it from one directory to another. And from time to time, when I do this, my PC will freeze. This time, it froze and the contents inside the folder were all jumbled up. the filenames and contents of the actual songs is beyond repair. So I'm looking to just delete the folder, re-rip the CD and be on my merry little way.

So what I'm asking is:
How do you delete a directory in DOS. By the way, when I open the DOS prompt, I'm stuck on the C: drive. How do I get to the H: drive (where my music is kept)? All help is greatly appreciated.

Thank you for your time,
Ryan.


Report Offensive Message For Removal


Response Number 1
Name: jboy
Date: November 12, 2005 at 19:31:00 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
DOS commands are covered here

To navigate to another drive, merely enter it - in this case

H:

To remove a directory in DOS, couple of ways, but the simplest would be deltree

deltree H:\yourfolder


That should remove the directory and its contents, including any subfolders - be careful, as files deleted this way bypass the recycle bin. You'll be asked to confirm the deletion

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


Report Offensive Follow Up For Removal

Response Number 2
Name: ryry1283
Date: November 12, 2005 at 21:38:18 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
I get an error message:
Error Deleting File or Folder

And it says:
Cannot delete file: Windows is unable to find the file. This item might have already been deleted or moved. Press F5 to refresh the view of this folder.


Report Offensive Follow Up For Removal

Response Number 3
Name: jboy
Date: November 12, 2005 at 22:26:50 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
Ok - well you might try deleting with Windows from Safe Mode, or else from a DOS boot (using a diskette)

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


Report Offensive Follow Up For Removal

Response Number 4
Name: jboy
Date: November 12, 2005 at 22:33:36 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
Also... if the folder has a long filename (greater than 8 characters) or contains spaces, DOS may require you to enclose the name in "quotes" - for example

deltree "H:\my favourite music files"

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


Report Offensive Follow Up For Removal

Response Number 5
Name: Mechanix2Go
Date: November 13, 2005 at 03:07:45 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
The failure to delete would indicate a scrambled disk structure.

A forceful delte can make it worse.

First run scandisk or chkdsk.

Then proceed as per jboy.


If at first you don't succeed, you're about average.

M2


Report Offensive Follow Up For Removal


Response Number 6
Name: jboy
Date: November 13, 2005 at 16:08:39 Pacific
Subject: using DOS to delete a folder
Reply: (edit)
For sure, I should have suggested that (what was I thinking?)

Possibly you can just delete it, but in all likelihood there are logical drive errors that will need to be corrected

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: using DOS to delete a folder

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




DSHUB24 Connection Problems

need help with dsl and dial up

novel 3.12

help mandriva install last straw!

Icon Scaling in Explorer Bar


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC