Thread: Need help discovering disk-size

  1. #1
    Unregistered
    Guest

    Need help discovering disk-size

    I know windows has a way of discovering disk-size of a share over a network, so it has to be accessible somehow to other programs, right? Does anyone know how I might go about calling this information? I'm in charge of designing a short C++ prog that reports the status of 14 servers in the mornings including space used/space available. I obviously can't pull a dir /s and use the information at the end because having it list our directory entire structure would take forever(and the load would be bad). Is there some way to get this information? Any dos commands even?

  2. #2
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    You could try the API function GetDiskFreeSpaceEx()
    zen

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. size of array
    By goran00 in forum C Programming
    Replies: 38
    Last Post: 04-02-2008, 09:57 AM
  2. Heapsort
    By xENGINEERx in forum C Programming
    Replies: 2
    Last Post: 03-30-2008, 07:17 PM
  3. Generic heapsort
    By Sephiroth1109 in forum C Programming
    Replies: 15
    Last Post: 12-07-2007, 06:14 PM
  4. An exercise in optimization
    By Prelude in forum Contests Board
    Replies: 10
    Last Post: 04-29-2005, 03:06 PM
  5. getting disk size information
    By Turek in forum C++ Programming
    Replies: 5
    Last Post: 07-31-2002, 02:52 AM