Command promt help

Currently reading:
Command promt help

Joined
Oct 2, 2003
Messages
9,934
Points
2,036
Location
Cheadle, Staffordshire
im trying to delete a corupt file that crashes windows everytime you even open the directory its in.

plan is to delete it via dos/command promt.

how can i get into a folder thats got a long name

eg. "my documents"

if you put CD My documents ... it throws up the error dir "my" not found... so what can i put to make dos understand the space?

also, what would the command be to delete a complete folder rather than just 1 file?

Thanks
 
CD mydocu~1

OR

CD "My Documents" or if that fails: CD "C:\My Documents"

And to delete Directory you must go into the folder and type:

attrib -s -h -r *.* (WIN98 DOS AND OLDER ONLY I THINK)

then DEL *.*

You could try: RD "Directory Name" but I'm not sure how the Remove Directory function works
 
Last edited:
For file and directory names with spaces in, put them in quotes - e.g. "My Documents"
To remove directories, you used to be able to use deltree, but that's been removed from Windows XP. Try using del /s to remove subdirectories.
H
 
since this is a pc tech type thread i'll hijack.in my torrents folder there is a folder containing multiple .avi files.now when i try to delete it i get an error message.
"cannot delete name of file Data error(cyclic redundency check)"
just happended yesterday and most google searches relate to dvd burning.already rebooted and its not doing anything. reinstaled the torrent prog as well as it seemed a bit 'buggy'
 
There were 300 viruses on this darn thing the other morning and I DONT LOG ON PORN some thing got in from Korea :eek:
 
I've always encountered CRC's when reading discs and disks, you done a sector scan on your HDD?

Suppose you could benefit from a wipe and reload, remember the clusters thing you told me about Custard.

Liam
 
was a dodgy mp3.. it crashed morpheus first just as i clicked on it to download.. windows couldnt even browse the partials folder as it would crash explorer as soon as it even acknowledged it was there.. tried all sorts of free programs to mass delete stuff but of course, dos reigns supreme :)
 
custard boy said:
since this is a pc tech type thread i'll hijack.in my torrents folder there is a folder containing multiple .avi files.now when i try to delete it i get an error message.
"cannot delete name of file Data error(cyclic redundency check)"
just happended yesterday and most google searches relate to dvd burning.already rebooted and its not doing anything. reinstaled the torrent prog as well as it seemed a bit 'buggy'

scandisk the HDD. CRC is an error check, and if its failing it means the data is a bit corrupt. you may have an iffy sector, scandisk should be able to fix it.
 
Back
Top