Discussion Locked

deleteing file error

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I keep trying to delete these jpeg's from my computer and I keep getting this error message. It says: Error deleting file. Cannot delete file: the filename you specified is invalid or too long. Specify a different file name. I would like to get this off my computer so any help would be appreciated. I don't know a whole lot about computers, I need all the help I can get. Thanks

5 replies

by jaboy78

if is win98se or FAT32...create a boot disk and boot from diskette.

Go to the folder u want to delete the files..

a:\

type - cd folder name

delete filename.jpg

not quit sure..e-mail to me jaboy78@yahoo.com

by joe

Try going into safe mode and delete them. Press F8 to get into safe mode. HTH

by ananthap

More variations on the same theme.

Boot in DOS, and delete using the 8 byte name.

The steps:
1) In W95/98 note the 8 byte file name by running DIR from the DOS prompt.
2) Boot in DOS ...

End

by compgirlfhredi

Did you try renaming the file first? Something like "outtahere.jpg".
If this were XP Pro this is what I would do:
Open a Command Prompt window and leave it open. Close all open programs. Click Start, Run and enter TASKMGR.EXE Go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open. Go back to the Command Prompt window and change to the directory the .jpg (or other undeletable file) is located in. At the command prompt type DEL where is the file you wish to delete. Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.

by brian.harmer

OK, this works, and I know that because I just did it.

Start/run/cmd
navigate to the directory containing the crazy file name

type the following command:
del filename*.*
(where filename is sufficient characters to uniquely identify the file)
You many need to make sure that there are no legitimate files with the same first part to the file name.

This discussion is closed to new replies.