Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Xori

Drive space, directory lists...

This topic is 5721 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone have information on gathering disk space (max, remaining), grabbing directory lists, etc? I''ve checked quite a bit in MSDN and havent found much. MFC stuff is not appropriate in my situation. Thanks...

Share this post


Link to post
Share on other sites
Advertisement
I''ve found some information on drive stats and everything - direct.h. No flames about not checking enough

Still can''t find anything about getting directory content lists though... anyone, please?

Share this post


Link to post
Share on other sites
For directory listings: FindFirstFile, FindNextFile and FindClose.

For free disk space... um... try GetDiskFreeSpace or better yet, GetDiskFreeSpaceEx.

If I had my way, I''d have all of you shot!


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Thanks for the advice - do you know what function calls are built into ANSI-C for these sorts of operations, though? I''m not sure that Win32 calls are appropriate either.

Sorry for not clearly stating my question.

Jay

Share this post


Link to post
Share on other sites
Damn. Thanks for the info.

Any pointers for *nix style calls to this stuff? I''m just writing a tool that I wish to be cross platform is all...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!