Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bytes in a directory
Message
From
30/03/1998 10:48:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00088089
Message ID:
00088120
Views:
39
>>>Are there VFP functions that return the total bytes in a directory and bytes of individuals files? Thanks in advance.
>>>
>>>Andy Ahrndt
>>>aahrndt@mindspring.com
>>
>>FSIZE() will return file size (if SET COMPATIBLE ON). You can collect all file names into array using ADIR() and calculate total size looping through this array.
>
>Thanks! That will do just what I need.
>
>Andy Ahrndt
Andy,
Take a look at the code in thread "Filling outline control with dir structure" posted today at 10:26. You could make little modification to it to collect what you want.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform