Counter-Strike 2

Counter-Strike 2

Not enough ratings
Windows PC: cmd.exe some codes. (Matik.dev)
By Matik and 1 collaborators
Category: Personal Computer > CMD.exe codes. for Windows 7/8/8.1/10
   
Award
Favorite
Favorited
Unfavorite
Guessing Game Code.
@echo off color 0e title Guessing Game by Madis 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

Make new Text document.txt, paste code there, then Save as Game.bat (save as type: *.* all)
Matrix Code.
1st version.
@echo off color 02 title Matrix by Madis :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto start

2nd version.
@echo off :a color 2 title Matrix by Madis echo 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 1 ping localhost -n 1 > nul echo 1 1 0 1 1 1 0 0 0 1 0 1 a f h 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0 echo 1 0 0 1 1 0 9 8 1 2 0 1 9 9 2 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 1 ping localhost -n 1 > nul echo 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 01 0 1 0 0 1 0 ping localhost -n 1 > nul echo 1 0 1 1 1 0 1 1 0 9 1 1 2 1 1 0 9 1 0 5 7 7 8 7 8 1 3 2 1 2 1 2 3 2 1 3 4 ping localhost -n 1 > nul echo 1 1 1 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 1 4 1 2 1 1 2 0 1 0 1 2 2 1 0 1 1 0 1 goto a

Make new Text document.txt, paste code there, then Save as Matrix.bat (save as type: *.* all)
Shut down Code.
◙ msg * type message you want to see before shutting down
◙ Shutdown.exe -s -t here type seconds

@echo off Shutdown.exe -s -t 10 cls msg * (Shutting down in 10 Seconds)

Make new Text document.txt, paste code there, then Save as Shut Down.bat (save as type: *.* all)

Speaker Code.
Dim message, sapi message=InputBox("Type text to talk","Speak to Me") Set sapi=CreateObject("sapi.spvoice") sapi.Speak message

Make new text document.txt, paste code there, then Save as Speak.vbs (save as type: *.* all)
DVD open close Code.
Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count -1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count -1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop

Make new text document.txt, paste code there, then Save as DVD openclose.vbs (save as type: *.* all)
Error Message Code.
x=msgbox("Your Message Here", 0+16, "Your Title Here")

Make new text document.txt, paste code there, then Save as errormsg.vbs (save as type: *.* all)
CAPS lighting loop Code.
Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" wshshell.sendkeys "{NUMLOCK}" wshshell.sendkeys "{SCROLLLOCK}" loop

Make new text document.txt, paste code there, then Save as capsloop.vbs (save as type: *.* all)
Password generator Code.
@echo off :Start2 cls goto Start :Start title Password Generator by Madis echo I will make you a new password. echo Please write the password down somewhere in case you forget it. echo ----------------------------------------¬----------------------- echo 1) 1 Random Password echo 2) 5 Random Passwords echo 3) 10 Random Passwords 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 if %input%==3 goto C if NOT goto Start2 :A cls echo Your password is %random% echo Now choose what you want to do. echo 1) Go back to the beginning echo 2) Exit set input= set /p input= Choice: if %input%==1 goto Start2 if NOT goto Start 2 if %input%==2 goto Exit if NOT goto Start 2 :Exit exit :B cls echo Your 5 passwords are %random%, %random%, %random%, %random%, %random%. echo Now choose what you want to do. echo 1) Go back to the beginning echo 2) Exit set input= set /p input= Choice: if %input%==1 goto Start2 if NOT goto Start 2 if %input%==2 goto Exit if NOT goto Start 2 :C cls echo Your 10 Passwords are %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random% echo Now choose what you want to do. echo 1) Go back to the beginning echo 2) Exit set input= set /p input= Choice: if %input%==1 goto Start2 if NOT goto Start 2 if %input%==2 goto Exit if NOT goto Start 2

Make new text document.txt, paste code there, then Save as passgnrt.bat (save as type: *.* all)
Making Private Locked Folder Code.
Quote: Quote: cls @ECHO OFF title Folder Private By Madis if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you want to lock the folder(Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Invalid choice. goto CONFIRM :LOCK ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter Password to unlock folder set/p "pass=>" if NOT %pass%== 12345 goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End

Make new text document.txt, paste code there, then Save as PrvtLocker.bat (save as type: *.* all)
P.S

Check My Other Guides:
Guide About Commands
Guide About MM Maps and Callouts.
Windows PC: cmd.exe some codes..
Make Ping Lower Guide


ATTENTION: (all the links, promos-sites, advs - will be deleted)
2 Comments
pwn2337 24 Jan, 2019 @ 12:02am 
this is called batch scripts, you paste the scripts to notepad, then save with .bat extension it should work
New Dawn Approves 23 Jan, 2019 @ 11:46pm 
wtf are these lmao