Showing posts with label batch[tut]. Show all posts
Showing posts with label batch[tut]. Show all posts

MATRIX EFFECT

0 comments

 Excellent Trick For Matrix Effect

just follow the steps

  • Open Notepad.
  • Copy the below mentioned text in your notepad file:

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%


  • goto start
  • Save the file with .bat extension like Mat.bat

it will look like image shown below





  • AND THEN JUST DOUBLE CLICK ON THIS Mat.bat file and see the magic






WANT TO MAKE UNLIMITED FOLDERS USING AN EASY SCRIPT

0 comments

THIS IS SO SIMPLE TO MAKE UNLIMITED FOLDERS USING THE SCRIPT.

HERE IS THE SCRIPT FOR YOU.

For the folder making, I would use the following command since it can go on forever:

@echo off
:loop
MD %random%
goto loop

This makes folders until you exit the program.

and for password protection of a Batch file, add the following:

:pass
set /p input=Some text :
if %input%==Hi goto hello
if not %input%==Hi goto wrong

:hello
echo Hi!
pause
exit

:wrong
echo Wrong password!
goto pass

Batch FIle Animation!

0 comments

1.put this code in notepad
2.save file named AH.bat
3.Run the file and see the animation
-----------------------------------------------

@ echo off
cls
echo A
ping localhost -n 2 >nul
cls
echo AS
ping localhost -n 2 >nul
cls
echo ASI
ping localhost -n 2 >nul
cls
echo ASIAN
ping localhost -n 2 >nul
cls
echo ASIAN H
ping localhost -n 2 >nul
cls
echo ASIAN HA
ping localhost -n 2 >nul
cls
echo ASIAN HAC
ping localhost -n 2 >nul
cls
echo ASIAN HAC
ping localhost -n 2 >nul
cls
echo ASIAN HACK
ping localhost -n 2 >nul
cls
echo ASIAN HACKY
ping localhost -n 2 >nul
cls
echo ASIAN HACKYA
ping localhost -n 2 >nul
cls
echo ASIAN HACKYAR
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD..
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD....
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...R
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...R
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...RU
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...RUL
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...RULE
ping localhost -n 2 >nul
cls
echo ASIAN HACKYARD...RULES
ping localhost -n 2 >nul
cls
echo .:ASIAN HACKYARD...RULES:.
ping localhost -n 2 >nul
cls

HOW TO MAKE A CALCULATOR USING BATCH FILE

0 comments

----------------------------code------------------------------
echo off
cls
echo.
echo This is multiplication calculation
set/p "user=FirstNo=>"
set/p "pass=SecondNo=>"
set /a a=%user%*%pass%
echo so the answers is = %a%
pause >nul
---------------------------end code---------------------------

paste the copied code in your notepad and save as "calculator.bat" or any other name with bat extension
you can change * with +,- and / to perform various operations