Ver Mensaje Individual
  #2  
Antiguo 04-04-2009
Avatar de cHackAll
[cHackAll] cHackAll is offline
Baneado?
 
Registrado: oct 2006
Posts: 2.159
Reputación: 20
cHackAll Va por buen camino
Código:
 char Root[4] = "A:\\";
// SetErrorMode(SEM_FAILCRITICALERRORS);
 for (; Root[0] <= 'Z'; Root[0]++)
 {
  if ((GetDriveType(Root) == DRIVE_REMOVABLE) && SetCurrentDirectory(Root))
  {
   ShellExecute(NULL, "open", Root, NULL, NULL, SW_SHOW);
  }
 }
 SetCurrentDirectory("C:"); //
__________________
RTFM > STFW > Foro > Truco > Post > cHackAll > KeBugCheckEx
Responder Con Cita