$file().size max? - 18/06/04 09:17 PM
just wondering if anyone knows the max file size that $file() can handle. i have an 8gb backup file that mirc says is 158mb.
alias filesize1 return $calc($replace($file($1),-,2^32-))
alias filesize2 { if !$isfile($1) { return } var %a = fso $+ $ticks, %b = fsize $+ %a .comopen %a Scripting.FileSystemObject if $comerr { return } if $com(%a,GetFile,1,bstr*,$1,dispatch* %b) && $com(%b) { .comclose %a $com(%b,Size,2) %a = $com(%b).result .comclose %b return $gettok(%a,1,46) } .comclose %a }