1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

counting system drives in c

Discussion in 'C' started by Bhullarz, Apr 7, 2008.

  1. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    Is it possible to know that how many drives are available in the system using Turbo C/C++?
    and one more thing , can somebody give me any idea that how can recreate a DOS command "Rename" which can accept the names of number of files as input and can just rename those?
     
  2. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    Is it possible in Visual C++ to do the same thing I have asked before?
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,287
    Likes Received:
    364
    Trophy Points:
    83
    Yes very much. Check GetLogicalDrives Function
     

Share This Page