Computing.Net > Forums > Windows 95/98 > Corrupt JPEG file won't delete

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.

Corrupt JPEG file won't delete

Reply to Message Icon

Name: bigdave1978
Date: January 10, 2005 at 05:30:06 Pacific
OS: Windows 98 SE
CPU/Ram: 128
Comment:

I recently downloaded what I thought was a picture of a 2000 Ford GT Mustang from WinMX and come to find out, it is not that at all. This JPEG file has a very embarrasing name to it that I do not wish to say what it is at this time but the DOS name is CONMYP~1 JPG. I have tried and tried to delete this file. The error message states as follows: Cannot delete file: The file name you specified is invalid or too long. Specify a different file name. So Iv'e tried deleting it from DOS at reboot and tried to rename it through Dos as well and unsuccesfull, I ve tried the deltree at the prompt and it gives me "file not found". This is on my desktop and I do not know why it is saying this. Thanks for any help.



Sponsored Link
Ads by Google

Response Number 1
Name: Jennifer SUMN
Date: January 10, 2005 at 06:38:09 Pacific
Reply:

Have you tried booting into safe mode and deleting the file that way?


0

Response Number 2
Name: Bryco
Date: January 10, 2005 at 08:42:25 Pacific
Reply:

Can you move the file?

If so then create a new folder "test" or some other short name, move the file into it and then use deltree in DOS to remove it or even from within Windows try deleting the folder (and all of it's contents).

Bryan


0

Response Number 3
Name: Dan Penny
Date: January 10, 2005 at 10:13:41 Pacific
Reply:

"... deleting it from DOS at reboot and tried to rename it through Dos as well and unsuccesfull, I ve tried the deltree at the prompt and it gives me "file not found".."

Does the above mean you've restarted in dos mode, or are you booting to RAW DOS? When you restart in dos mode it's just that, dos MODE. Windows is still in control and your not in REAL dos.

Have you tried tapping or holding the Ctrl or F8 key at boot to get the MS start menu? When you do this and choose Command prompt only, you're in real dos. Deltree should delete the file in this mode. ie; (You'll end up at the C:\> prompt)

cd windows\desktop

deltree/y CONMYP~1 JPG


0

Response Number 4
Name: bigdave1978
Date: January 10, 2005 at 14:16:12 Pacific
Reply:

Reply one: Have you tried booting into safe mode and deleting the file that way?

Yes, unfortunately I get the same error message in safe mode.

Reply Two:Can you move the file?
If so then create a new folder "test" or some other short name, move the file into it and then use deltree in DOS to remove it or even from within Windows try deleting the folder (and all of it's contents).

I tried this and no dice, same error message.

Reply Three:cd windows\desktop

deltree/y CONMYP~1 JPG

Now this one was interesting. I booted to RAW DOS by tapping F8 when I would boot up my pc and go to "Command Prompt Only" in the windows start up menu. I entered as follows at the C:\> prompt:
cd windows
C:\>Windows
cd desktop
C:\>Windows\Desktop
deltree/y CONMYP~1
and this is what it did when I hit enter

C:\>Windows\Desktop
as if it maybe took it, I rebooted an found it was still there. I hope I am not confusing anyone as I am a beginner at this stuff. Any more help IS SEVERLY APPRECIATED!!


0

Response Number 5
Name: jboy
Date: January 10, 2005 at 14:50:20 Pacific
Reply:

You have to be fairly exact in DOS

del CONMYP~1.JPG

(or deltree, I suppose - case doesn't matter, but the name & extension does)

'wildcards' can come in handy also

del con*.jpg

(deletes ALL JPGs beginning with 'con' in that folder)


del con*.*

(deletes all files beginning with 'con')

Mix & match as desired - deltree may be more appropriate - it's the heavy duty deleter.

You may wish to leave off the 'y' - that suppresses confirmation, and you can't immediately tell if it worked. You can check if the file still exists by using the DIR command.

I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: Corrupt JPEG file won't delete

Crazy Porn File! Won't delete or rename www.computing.net/answers/windows-95/crazy-porn-file-wont-delete-or-rename/113767.html

Unwanted files that won't delete! www.computing.net/answers/windows-95/unwanted-files-that-wont-delete/144803.html

Files that won't delete. www.computing.net/answers/windows-95/files-that-wont-delete/122963.html