Discussion Locked

Long file name error

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a Compaq system with a 4.3 gig drive that will not boot due to a long file name error
that scandisk cannot fix and the system refuses to boot. It is running Win95.
Does anyone have a suggestion for the fix for this problem?
Thanks,
TGraves

17 replies

by duong beo

This error has once been occurred to one of my colleague. It seems that you was really bad luck and had a serious problem. This error is always caused by viruses or improper use of an utility when you scandisk, defrag disk or disk edit. The FAT is now changed and that was the reason. Now, the work to do is to restore your data on that disk. Perhaps you can only rescue part of your data only but it may be better than nothing. I suggest you boot your computer by floppy disk or by an other hard disk (the error hard disk is then set jumper as slave), then try to copy your needed data as much as possible manually.
Hope it was not serious for you.

Duong beo

by crn1inc

Iv had the same thing happen to me run norton disk doctor from the cd it will boot the cd norton systemworks ver. 3.0 it will crect the long file errors

jason gaxiola
computer since corp.
aka CSC

by shubens

Hi,
Have you try use lfnbk.exe to rename long files names and save them in a file for restore after boot. This utility is on Win95 cdrom. It may help you.

by moflic

Drop to a shell (oops i mean boot to command prompt only) Find the file in question by looking in the scandisk.log. Try deleting it from the command prompt by using its msdos truncated name. If not possible, try deltree on the directory in which thefile resides before copying the other files and subdirs in that directory(if you need them), then restore the directory. May work in some cases, if the allocation table is not so badly damaged.

by mcse lee

Boot to Safe Mode (or Startup Disk, if Safe Mode won't work), then delete the file.

NOTE: NEVER RUN SCANDISK IN DOS MODE, it will corrupt your long file names and cause this problem.

by cybera

In order to slove this problem, backup your long file.If you are uncertain which file is it type dir in DOS mode to search. You have have save a document with a long name which is under support in windows platform. Backup the files in a Floppy Disk then delete the file(s). Then reboot your computer.

Long file name produce tons of errors under windows. They can also create buffer overflows in your computer allowing mailicious attacks.

by johnylog.software

Hello guys,

Do you encounter errors while deleting files in Windows? I'm here to

provide a solution. I've been reading several threads on this topic on

different forums where computer users were asking about this popular error

"The filename you specified is not valid or too long".

My research helped me to find a tool for you guys.

Its LONG PATH TOOL, a very easy to run but highly powerful software.

Follow the link to read more about this error.

http://www.longpat

by tecalote

The error could actually be the directory name rather than a filename, you would get the same error message. Make sure the long directory name is not longer than 256 characters.

This discussion is closed to new replies.