QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Richard on August 06, 2021, 01:45:24 pm
-
I am trying to get Windows 10 x64 system files information via a QB64 program - the kind of info is Size, Date, etc.
An example of system file is C:\hiberfil.sys
Currently I can use a third party software but it takes about 10 minutes to load each time (and does not auto-refresh or even manually refresh) and I cannot access the information I need via QB64 SHELL.
An example from the third party software is below
[ This attachment cannot be displayed inline in 'Print Page' view ]
Is there a Windows API or something I can use?
-
Yes, there is an API. I don't have time to work on that for you but you can check: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information (https://docs.microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information).
Edit: I just realized that this is for system files. I will have to check.