Results 1 to 2 of 2

Thread: How to get hard disk free space in Windows?

  1. #1
    Join Date
    Jul 2008
    Location
    Philippines
    Posts
    60
    Thanks
    9
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to get hard disk free space in Windows?

    hi all...

    can anyone help me on how i can get the hard disk free space?

    thanks..

  2. #2
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to get hard disk free space in Windows?

    Quote Originally Posted by cutie.monkey View Post
    hi all...

    can anyone help me on how i can get the hard disk free space?

    thanks..

    search " GetDiskFreeSpace " on http://www.google.com/codesearch
    or build the main from http://support.microsoft.com/kb/231497/it
    and rename to df ...

    on linux you can send a QProcess to df -h

    if you place error message evry time by writing file you dont need GetDiskFreeSpace on application ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.