Convert batch file to C#

  • Thread starter Thread starter Anis07
  • Start date Start date
A

Anis07

Guest
help me plz


Is it possible to convert a windows batch file to a C# console application? Here is the batch file


@shift /0
@echo off

reg query HKEY_LOCAL_MACHINE\Software\imotech
if %ERRORLEVEL% EQU 0 goto DELREG

reg query HKEY_CURRENT_USER\Software\imotech
if %ERRORLEVEL% EQU 0 goto DELREG2

goto BIT

:DELREG
reg DELETE HKEY_LOCAL_MACHINE\Software\imotech /f
rem Wait 20

reg query HKEY_CURRENT_USER\Software\imotech
if %ERRORLEVEL% EQU 0 goto DELREG2
goto BIT

:DELREG2
reg DELETE HKEY_CURRENT_USER\Software\imotech /f
rem Wait 20
goto BIT

:BIT
if exist "%PROGRAMFILES(X86)%" goto RUN64
goto RUN32

:RUN32
"%CD%\x86.exe" 24\10\2500 "%CD%\Csharp.exe"
goto ABOUT

:RUN64
"%CD%\x64.exe" 24\10\2500 "%CD%\Csharp.exe"
goto ABOUT

:ABOUT
cls
echo -------------------------------------
echo - Nulled -
echo -------------------------------------
timeout 3



thanks

Continue reading...
 

Similar threads

Back
Top