How to Make Batch Files Using Notepad
by Tolentino6 in Circuits > Software
1117 Views, 11 Favorites, 0 Comments
How to Make Batch Files Using Notepad
No Text just go to the next step to continue
This Is Textnology
Step 1: If You Wanna Create a Batch File You Need to Know the Commands
Commands:
@echo off -- {this needs to be put at the top because it is the file startup}
echo -- {This Sends a message to the user}
start -- {goes where its destination like start c:/ it will go to c:/}
@echo on --- {It Will Exit The Program}
echo %USER% {Displays the value of USER on the screen.}
echo. {Displays a single blank line on the screen.}
echo Y|Del *.* {Answers the DEL "Are you sure" question automatically.}
set USER=John {Sets the value of USER to the string, "John".}
set USER= {Removes USER from the environment.}
Step 2: Open Notepad and Follow Me
Second Put the startup command @echo off
@echo off
echo This Is An Example
set USER=Tolentino6
echo %USER& Is The Maker of this Code
echo.
@echo on
=====================================
This Is Just An Example for the batch file coding
Step 3:Done!
You are done you can now make an batch file using notepad
Thanks :)
Copyright 2015 Tolentino6