How to Make a BAT File

by Pondo1231 in Circuits > Computers

599 Views, 6 Favorites, 0 Comments

How to Make a BAT File

code.jpg

This is how to make it a BAT file.

*IN THE END, SAVE THE FILE AS A .CMD AND SELECT ALL FILES.

Starting

Notepad.png

To start off, open the notepad on your computer. This allows you to type and code your own Batch file.

Coding

First, type in your notepad the following
@Echo Off
This allows the text that tells you what user you are to not exist.
Next, type
@Echo Hello
@Pause
DON'T INCLUDE THE @ SIGNS ON THE ECHO AND PAUSE
Echo allows you to type any text on the screen that you want it to say.
Pause tells you to press any button to continue.

Variables

To enter variables write the following

goto intro

:intro

echo Hello

pause

cls

The variables can be used when ever you want them to be used.

Trolling

Type the following

@echo off

:help

start

start

start

start

start

start

goto help