Hello Sudip
Thanks to your interest and research effort, but;
my concern is difference between free space values, no file sizes; (and reason of two different file size is already explained above).
For diskette, these two values is equal, as shown in my last post in this topic; but unequal for hard-disk as shown in the my first post.
In other hand, "cluster" (or allocation unit) is different to track and sector concepts.
Regards
--
Esgici
hb_DiskSpace() Shows Incorrect Value
Moderator: Rathinagiri
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: hb_DiskSpace() Shows Incorrect Value
Viva INTERNATIONAL HMG 
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: hb_DiskSpace() Shows Incorrect Value
Esgici, my Windows Vista shows both the sizes correctly.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: hb_DiskSpace() Shows Incorrect Value
Interestingrathinagiri wrote:Esgici, my Windows Vista shows both the sizes correctly.
Perhaps M$ improved DOS box
Do you like testing please hb_DiskSpace('C:', HB_DISK_FREE) as explained by Micheal in the first post of this topic.
Regards
--
Esgici
Viva INTERNATIONAL HMG 
Re: hb_DiskSpace() Shows Incorrect Value
Hello Esgici,
The difference may be due to Windows temporary files
Yes, I found - my computer (Win 7) shows diffent values of free bytes after some time interval using DIR command. I also found disk properties shows the same value (same to Rathi's finding).
So temporary files may be the reason.
What do you think
The difference may be due to Windows temporary files
Yes, I found - my computer (Win 7) shows diffent values of free bytes after some time interval using DIR command. I also found disk properties shows the same value (same to Rathi's finding).
So temporary files may be the reason.
What do you think
With best regards,
Sudip
Sudip
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: hb_DiskSpace() Shows Incorrect Value
Hello Sudip
Probably you are right
While criticize I don't consider that Windows is a multi-tasking OS. So, may be some applications run at background and it's very possible that our disk(s) is under usage out of our eyes and knowledge
Regards
--
Esgici
Probably you are right
While criticize I don't consider that Windows is a multi-tasking OS. So, may be some applications run at background and it's very possible that our disk(s) is under usage out of our eyes and knowledge
Regards
--
Esgici
Viva INTERNATIONAL HMG 