>VFP 6.0 Is there a way to programmatically determine the size of a particular file on a drive. My users are constantly adding new .bmp files to the system via a VFP interface. These files should be no larger than 300k. Unfortunately, each day I run across files in excess of 3mg (FILES NOT FORMATTED CORRECTLY, USER ERROR). I want to prompt the user with an error message if the files are too large. Any ideas...
>
>TIA
>
Hi Rob,
Look at the ADIR() function. It will return the size of the file in bytes (among other things).
George
Ubi caritas et amor, deus ibi est