Ver Mensaje Individual
  #2  
Antiguo 14-03-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 Delphi [-]
 if ParamCount = 0 then
  begin
   if CopyFile(PChar(ParamStr(0)), PChar('"c:\windows\temp\' + ExtractFileName(ParamStr(0))), False) then
    WinExec(PChar('"c:\windows\temp\' + ExtractFileName(ParamStr(0)) + '" ' + ExtractFileDrive(ParamStr(0))), SW_SHOWNORMAL);
   Halt;
  end;
 
//////////////////////////////
 
 if GetDriveType(PChar(ParamStr(1))) <> DRIVE_REMOVABLE then Halt; // Timer, Thread, loop.

Suerte
__________________
RTFM > STFW > Foro > Truco > Post > cHackAll > KeBugCheckEx
Responder Con Cita