Re: [OT] files/dir on windoze
- Posted by CoJaBo <cojabo at suscom.net> Jul 07, 2004
- 609 views
I had this happen a few times, once in a VERY long dir (like "C:\qwertyuiopasdfghjklzxcvbnm\qwertyuiopasdfghjklzxcvbnm\qwertyuiopasdfghjklzxcvbnm") and once in a rather short dir that had some currupt file names (no name, symbols, ...) try a disk repair utility (not scandisk, I've never had any luck with it). 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. > > > > 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. > > > > 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. > > It's happened again, this time with a count of 14,172 files in another > directory. Is there a magic number i missed somewhere? > > Kat > >