Re: Easy enigma

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
223 is the searched number for root of floppy, only. 

And now try other script:

 DirCreate("a:\a")

 $i = 0
 While 1
 $file = FileOpen('a:\' & $i, 2)
 if $file = -1 then
 MsgBox(0,'ZeroFile','#LastFile in Root = ' & $i)
 ExitLoop
 endif
 FileClose($file)
 $i = $i+1
 wend

 $i = 0
 While 1
 $file = FileOpen('a:\a\' & $i, 2)
 if $file = -1 then
 MsgBox(0,'ZeroFile','#LastFile in \a dir = ' & $i)
 ExitLoop
 endif
 FileClose($file)
 $i = $i+1
 wend

and you can see other result.
:-)

Regards,
Valery
BTW About FAT see in 
http://en.wikipedia.org/wiki/File_Allocation_Table


--- In [email protected], "Lüth, Carsten" <c.lueth@...> 
wrote:
>
> hi Steve,
> 
> I already wrote the solution ;-)
> 223 is the searched number
> 
> Mit freundlichem Gruß / With kind regards 
> 
> Fielmann AG 
> 
> Carsten Lüth 
> IT - Desktop Services
> Weidestraße 118a 
> 22083 Hamburg 
> Telefon: +49 - (0) 40 - 2 70 76 - 199 
> mailto:c.lueth@... 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Steve [mailto:xirconuk@...] 
> Gesendet: Freitag, 20. Oktober 2006 14:19
> An: [email protected]
> Betreff: Re: [AutoIt] Easy enigma
> 
> 
> Go on then, what is the answer?  I gave up using floppy disks years 
ago, 
> the only ones I have left are amiga formatted and probably don't 
work!!!
> 
> I suspect the maximum number of files of zero bytes depends on the 
size 
> of the file alloction table.
> 
> Have a good weekend
> 
> Steve
> 
> 
> 
> 
>  
> Yahoo! Groups Links
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AutoItList/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AutoItList/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.