Forced delete using dos - how?

cd to the dir and

attrib -s -r *icecube.mht
del /F *icecube.mht

If that doesn't work then try
attrib -s -r *icecube.mht
ren *icecube.mht icecube.mht
del icecube.mht

I had something like this a year ago...dos can def do it.
 
OMW
Get the short filename and use that instead of the long filename with ?'s in it.
As follows:
Open a command prompt.
cd \
cd Program Files\Foxit Software\Foxit Reader
dir /x *_hairy_icecube.mht

The /x option makes dir show the short file names as well as the long ones.
Now ... the short file name and the long file name will be shown together in the output of the dir command.
You can now use the del command to delete the file using it's short filename.

:D
 
This is not working in my favour at all.

I've tried the suggestions (DOS) above and its not working. I've also DL the ocx file, and whislt killbox looks a pretty cool app, its not working - it tells me the file doesnt exist. However, i need to try the re-boot option for killbox.

Dos gives me....
*unable to change attribute"
"the file, directory name or volume label syntax is incorrect"


I'll keep fiddling with dos...



Thanks for suggestions
 
Last edited:
No way ... the short name approach is 100% garauntee'd.
Did you read:
OMW
Get the short filename and use that instead of the long filename with ?'s in it.
As follows:
Open a command prompt.
cd \
cd Program Files\Foxit Software\Foxit Reader
dir /x *_hairy_icecube.mht

The /x option makes dir show the short file names as well as the long ones.
Now ... the short file name and the long file name will be shown together in the output of the dir command.
You can now use the del command to delete the file using it's short filename.

:D
 
To be honest i'd just deltree the sucker..barring that i'd repartition the harddrive,move every folder over to the new partition till only that folder is left and fdisk the sucker to hell

But hey i'm the guy who brings a bulldozer to a treeplanting ceremony ^.^

cd Progra~1
cd Foxits~1
deltree Foxit Reader
 
Taking it on from another side - try finding a copy of the old Norton Commander for DOS and use that to delete the offending file? :D
 
No way ... the short name approach is 100% garauntee'd.
Did you read:

Doesnt work. My file must be really screwed. I've tried many times short/long name - and many other variations others have suggested.
 
Tried renaming the the file first in explorer?
 
Hmm this reminds me....

We had a trick in the olden days of Netware for dos to create a filename using a special char with alt-keys that not windows nor any other explorer could delete without using that special char
 
Open a terminal (dos prompt) and cd to where the files is. Very important, do this first.

Then open task manager and kill explorer.exe. Only the dos prompt will be open with the task manager.

In the dos prompt, delete the file.

In task manager New -> Task -> explorer.exe

Problem solved without a reboot or safe mode.
 
Reason I remember this now is the students used to hide their porn in those folders and the netware admins couldnt even access it
 
I've tried all dos suggestions above, including myworld & nods suggestions.

nothing. Doesnt budge.
 
Top
Sign up to the MyBroadband newsletter
X