Skip to main content

Batch Programming: Part 2:

Welcome back geeks, I hope you enjoy reading this. In this tutorial i gonna explain you how to create a batch file. 
Batch Files are very powerful programs that can cause unwanted result. There are many malicious combinations that can harm your computer. They can range from erasing windows to disabling keyboard via registry etc. Most famous malicious batch program is "Fork Bomb". It opens a program repeatedly so your memory filled and eventually your computer get crashes.
Create your own batch file, 

1. Open Notepad.exe by either going to Run and typing "Notepad" without quotes or click Start > All Programs > Accessories > Notepad.

2. Copy and Paste the following code into Notepad:

@echo off
Echo Hello World!
pause

 Note: After you paste this code in your notepad just click file > save as and save anything.bat, And choose save type as: All files.

See the pic for info:

Then click save. Then click on your batch file.
"Its not an malicious program, What it do is it will open a cmd prompt and it display Hello world! in it. Like in the pic below.
To stop any batch prog, Go to your task manager and click process and search for your file and click end process. 

In my next tutorial I'll explain you about malicious batch program with example. Use all tricks only for educational purpose. Don't do any illegal activities, Then it'll cause unwanted result for you. 

Hope you enjoyed it :-)

Comments

We think you like these too...

Learn Hacking: Part 2: Programming:

iOS 11.4 Brings Stereo Pairs and Multi-Room Audio With AirPlay 2

Google not rolling Orkut into Google+