Page 1 of 1

Problem with GetVolumeInfo to get freespace in bytes

Posted: Tue Sep 17, 2024 9:23 pm
by papiosaur
Hello,

i have a problem with GetVolumeInfo to get freespace in bytes like mentionned in the example.

if i write

Code: Select all

space = GetVolumeInfo("RAM:", #FREESPACE)
consoleprint(space)
i get 1554153 (but it's Kb...), i have 1.5Gb...

i need to have the free size in bytes if possible.

Any solutions please ?

Re: Problem with GetVolumeInfo to get freespace in bytes

Posted: Tue Sep 17, 2024 10:08 pm
by papiosaur
pppfff, you can delete my post... i took the result and /1024 and show it...