Jump to content

reyna12

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by reyna12

  1. I have that in $OEM$ folder

    As far as i'm aware this worked. I'm just a bit stupid, i didn't add a command line to tell it to run an exe DOH!

    cmdow @ /HID
    @echo off

    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

    ECHO.
    ECHO blabla
    DEL "%systemroot%\system32\thedllfile.dll"
    COPY "%CDROM%\thedllfile.dll" "%systemroot%\system32\"

    EXIT

×
×
  • Create New...