This works fine on small files, but any file teh exceeds the 32-bit integer has a negative value for size. Does anyone know how for me to get the actual value of the file, other than a DOS DIR? I don't want to do a DOS DIR and parse the output.my $file = "c:/autoexec.bat"; my $fStats = stat($file); print "Size is: " . $fStats[7]. "\n";
Edit Masem 2001-08-23 - Added CODE tags
In reply to negative stat value by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |