Forum Home
Press F1
 
Thread ID: 49383 2004-09-17 11:37:00 File System error 1026 eef2 (1904) Press F1
Post ID Timestamp Content User
273279 2004-09-17 11:37:00 I have a folder (directory) named "directoryname_" that will not delete.
I suspect that it is the "_" after it's name that is causing this.
Anyone know of a good DOS command that works?
The following have been tried:-
(a) deltree
(b) rmdir
(c) rd

Cheers.
eef2 (1904)
273280 2004-09-17 11:45:00 Try:

dir /x

This will give you the full directory name, and a shortened 8 character version (something like direct~1 or similar)

Try deleting the short filename not the long.
whiskeytangofoxtrot (438)
273281 2004-09-18 09:13:00 That didn't work, Whiskey. Maybe it's the version of MODOS I have? Or maybe it is because I was using DOS from within windows?
I'll go away now and try in true DOS
eef2 (1904)
273282 2004-09-18 09:39:00 Back again from true DOS, and I learnt a thing or two there.
Firstly, d:\stamp_ as listed in windows was listed in two different ways in DOS

(1) by dir/p - stamp
(2) by dir /w /p - [stamp ]. :O

I noted the gap before the last bracket, bearing in mind, I had already tried
deltree stamp and deltree stamp_ before.

So, this time, I tried deltree stamp*. It then gave me the "are you sure" mesage which I replied to with a Y, and I knew I had done it.
Then switched to windows and my explorer (powerdesk) to check it was gone, and it had gone.:)
eef2 (1904)
1