Youth Skill Development Foundation

युथ स्किल डेवलपमेंट फाउंडेशन

Recognized By: Indian Govt. NITI Aayog  Skill India Digital India Govt. of West Bengal MSME & More

How to Create a Virus Using Batch File?

Batch file programming is some set of commands which execute automatically upon trigger. batch files can be used to automate many tasks such as opening multi links at once, automatically cleaning your computer, speed up your PC, deleting temporary files, Display a message and other many things. batch files can be dangerous if misused, also can make damage your PC. here we will see some example commands on batch file that automate useful works.

Example Batch code [ Create tons of folder on desktop ]

Batch CommandCommand explained
@echo off
goto loop
‘@echo off’ – means will not prompt any message.
:loop – for repeat task
‘md %RANDOM%’ – create folders with random name.
‘goto loop’ – repeat folder creation.

Process- Create a notepad file and with content of batch command and save the file as folder.cmd or folder.bat file extension is mandatory.

Final Words- This code will create end less file on current location. it can damage your system. do not run this file. It is only for education purpose.

Leave a Reply

Scroll to Top