|
-
Apr 13th, 2001, 03:14 PM
#1
Thread Starter
Fanatic Member
What is the easiest way to find the size of a file on the HDD? Can I get the 'true' size or just the space occupied (i.e. dependant on block size)
-
Apr 13th, 2001, 03:17 PM
#2
Use the FileLen method.
Code:
iFileSize = FileLen("C:\MyFile.txt")
-
Apr 13th, 2001, 03:18 PM
#3
Fanatic Member
You can use use the File System Object to get the size of a file or folder.
-
Apr 13th, 2001, 03:19 PM
#4
Thread Starter
Fanatic Member
-
Apr 13th, 2001, 03:27 PM
#5
Originally posted by Illspirit
You can use use the File System Object to get the size of a file or folder.
Why use additional components when you don't need to?
-
Apr 13th, 2001, 03:31 PM
#6
Fanatic Member
i dunno, i was only offering an alternative solution
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|