Skip to content

Instantly share code, notes, and snippets.

@avarayr
Last active August 7, 2025 06:09
Show Gist options
  • Save avarayr/cb7b74dc2c8e6c57028f8e4a4d0b817a to your computer and use it in GitHub Desktop.
Save avarayr/cb7b74dc2c8e6c57028f8e4a4d0b817a to your computer and use it in GitHub Desktop.

Revisions

  1. Michael Melikyan revised this gist Mar 17, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions cmd.bat
    Original file line number Diff line number Diff line change
    @@ -18,13 +18,13 @@ timeout 1 >NUL
    echo PLEASE WAIT...
    timeout 3 >NUL

    echo .
    echo.

    echo NO viruses found
    echo NO Adware found
    echo NO spyware found

    echo .
    echo.

    ) ELSE (

  2. Michael Melikyan created this gist Mar 17, 2018.
    37 changes: 37 additions & 0 deletions cmd.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    REM Replace this file with cmd.exe in C:\Windows\System32\

    @echo off


    title C:\WINDOWS\system32\cmd.exe
    echo Microsoft Windows [Version 10.0.16299.309]
    echo (c) 2017 Microsoft Corporation. All rights reserved.
    echo.

    :pr
    set /p command="C:\Users\mika_>"

    IF "%command%"=="tree" (

    echo SCANNING FOR VIRUSES...
    timeout 1 >NUL
    echo PLEASE WAIT...
    timeout 3 >NUL

    echo .

    echo NO viruses found
    echo NO Adware found
    echo NO spyware found

    echo .

    ) ELSE (

    echo '%command%' is not recognized as an internal or external command,
    echo operable program or batch file.
    echo.

    )

    goto pr