Thread: read hard drive

  1. #1
    Unregistered
    Guest

    Angry read hard drive

    I know how to read the drive with dir but how does it know the difference between free space and used space dir reads both because after running dir it tells me the amount of used space and free space number of directories and files,
    how does it tell the difference between all these items.


    thanks all for the help.

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    i would think it uses the F.A.T.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User Engineer's Avatar
    Join Date
    Oct 2001
    Posts
    125
    Try going through dos.h of your compiler. It has functions to determine between free space, used space etc.

    Cheers.
    1 rule of the Samurai Code: if you have nothing to say, don't say anything at all!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mapping out a hard drive.
    By Queatrix in forum Windows Programming
    Replies: 18
    Last Post: 05-01-2005, 05:02 PM
  2. Hard Drive and RAID
    By xddxogm3 in forum Tech Board
    Replies: 4
    Last Post: 04-30-2005, 09:51 PM
  3. Frequent hard drive access question
    By Xzyx987X in forum Windows Programming
    Replies: 2
    Last Post: 04-27-2004, 10:47 PM
  4. Hard Drive: A tricky treat
    By RoD in forum Tech Board
    Replies: 16
    Last Post: 10-28-2002, 02:24 PM
  5. Hard Drive Problem
    By MethodMan in forum Tech Board
    Replies: 3
    Last Post: 10-08-2002, 05:13 PM