Problem with GetVolumeInfo to get freespace in bytes

Find quick help here to get you started with Hollywood
Post Reply
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Problem with GetVolumeInfo to get freespace in bytes

Post 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 ?
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Problem with GetVolumeInfo to get freespace in bytes

Post by papiosaur »

pppfff, you can delete my post... i took the result and /1024 and show it...
Post Reply