answersLogoWhite

0

batch files are used to make long tasks shorter.

for example, If I wanted to change the file extension of every file in the folder

EXAMPLEFOLDER from .txt to .doc, I could make a batch file that did that instantly,

rather than going into the properties of every file and changing the extension

manually

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

How do you edit your registry from a batch file?

You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?


How do you name a batch program?

Assuming you mean a shell script (AKA batch file), you simply add a .bat as the extension to any plaintext file. There is no limitation for the actual filename aside from this (except for regularly unallowed charachters like > and /). For instance, if you wanted to name your batch file hello world, you would open up a new notepad document, enter your code, then save as File Name: hello world.bat and change the Save as Type: All Files. Windows automatically recognizes any file with the .bat extension as an executable batch file, so to run it, you would just double-click it like any other document or file. To edit the batch file again, you can right click it and select Edit, or use notepad to open it from its respective location. Hope that answers your question.


What are the features of batch file programming?

Batch file programming is dos based programming you have to use dos commands .It is very good to perform some repetitive task in computer programming is easy you should only know the dos commands.


How can you mask your password when typing in a batch file?

Natively, you can't replace characters typed into a batch file from the keyboard with asterisks or any other character to mask what is being typed. You will have to download a special program and run that alongside CMD.exe in order to have this functionality.


How do you make a batch file wait?

Use the 'pause' command. The pause command will make a "press any key to continue..." message. If you don't want this to show up, use "pause >nul". This will make the batch file wait without the pause message.

Related Questions

Can a file with a weird extension but with batch file code be read using another batch file?

Nope, the format of a file is a vital part of a successful batch file. Even if a file with an unknown file format contains working batch file code in it, a batch file will still not be able to read it because of its foreign file extension. If you want the batch file to be able to read the foreign file, then you can set it to rename the mutated file to .bat format and then read it for it to work. Example: @Echo off REN File.Foreign File.bat CALL File.bat exit


What is the extension of batch file?

the extension of a batch file is ".bat"


What is a batch file?

A batch file is the text file that contains a series of commands that MS-DOS carries out. A batch file is created by COPY CON command after specifying a file name by using extension as .BAT in DOS mode.


What happens if you type in echo off in a batch file?

It will make the file work. Without it nothing will happen. Hope this helped!


How do you extract code from batch file?

You can just open the batch file with notepad and look at the code


Is there any batch file editor to create batch file without learning syntax?

You can't download a program that makes a batch file to do what you want to do. You will need to legally learn about hacking, and then write the file yourself.


A file with a bat file extension is called an what?

A batch file.


What is Batch File Maker?

you can use notepad for creating a batch file. just when you save the file that you made, add .bat as a file extension. like this: "sample.bat".


A group or list of commands?

A Batch. generally in a BATch file.


What do you call a little program made from batch file?

A Batch Script


What program do you use to open a batch file?

Hey want to learn batch?? Well a batch file does not need a program (I.E a compiler or interpreter) like in other languages like C++ and Python. No a batch file is just saved a certain way.


Can I have a running batch file continue in another batch file but have it running in the same spot as it was before just moving it in windows 7?

You can have a running batch file continue in another batch file but have it running in the same spot as it was before moving in Windows 7 if it is configured properly. Batch files are designed to perform simple operations based on user input.