How to Make Batch Files Using Notepad

Introduction: How to Make Batch Files Using Notepad

No Text just go to the next step to continue

This Is Textnology

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: 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: 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: Step 3:Done!

You are done you can now make an batch file using notepad

Thanks :)

Copyright 2015 Tolentino6

Be the First to Share

    Recommendations

    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge
    • Arduino Contest 2020

      Arduino Contest 2020
    • First Time Author Contest

      First Time Author Contest

    Discussions