im trying to get each drive on my computer. Is their a way to do this? Right now im just having it loop through four times for each drive on my computer but i want it to be portable for other computers with more or less drives.
this only return "A:/ "four times though.Code:char buff[10]; int i; for(i=0;i<4;i++){ GetLogicalDriveStrings(10,buff); MessageBox(NULL,buff,"dd",MB_OK); }
thanks





Reply With Quote