counting system drives in c

Skilled contributor
7Apr2008,18:25   #1
Bhullarz's Avatar
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?
Skilled contributor
18Apr2008,02:45   #2
Bhullarz's Avatar
Is it possible in Visual C++ to do the same thing I have asked before?
Go4Expert Founder
18Apr2008,10:37   #3
shabbir's Avatar
Quote:
Originally Posted by Bhullarz
Is it possible in Visual C++ to do the same thing I have asked before?
Yes very much. Check GetLogicalDrives Function