Re: [OT] files/dir on windoze

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kat wrote:

> On 3 Jul 2004, at 19:20, Juergen Luethje wrote:
>
>> Kat wrote:
>>
>>> I ran into a problem last night, and can't figure out why this is. In one
>>> dir,
>>> i have 14,301 txt files. So i go to create a new one, and Eu reports a bad
>>> file. I try it manually, and Windoze reports:
>>>
>>> Unable to create the file "New Text Document.txt'
>>> The directory of file cannot be created.
>>>
>>> Scandisk reported a filename too long in the directory, but it didn't fix
>>> anything, and i cannot find any error. Does anyone have any experience with
>>> this?
>>
>> I had experienced things like that in the past, too. Fortunately,
>> recently this did not happen to me any more, so I recall this problem
>> rather vaguely. IIRC Windows allows you to create files that have too
>> long names, and after creation, it can't handle them any more. sad
>>
>> The first question IMHO is: How long is (or would have been) the *full*
>> name (including path) of "New Text Document.txt"? Windows only allaws a
>> maximum of 260 characters or so.
>
> There are path+filenames which are longer than "123.txt" in that directory. I
> can drag/drop/copy a file to the directory, like "new.txt" , but then cannot
> rename it to "123.txt",, but i can rename it to "NEW.txt" !

Very strange. Do you think the problem has got something to do with the
digits in the name?

>> Maybe you should move all "good" files in the regarding directory into a
>> new directory (with a rather short name), and then (try to) delete that
>> old corrupted directory.
>
> I'll try that in a few days, when the program ends this run. Chances are, it
> will
> crash when the new dir also has 14,301 files in it? The directory is NOT
> flagged as system, archive, hidden, or read-only.

As far as I know, on DOS and Windows the number of entries (directories
and files) is only limited in the *root directory* of a disk. As far as
there is enough free disk space, any other directory should be able to
accept an unlimited number of entries, no?

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu