answersLogoWhite

0

What are some batch file codes?

Updated: 12/14/2022
User Avatar

Wiki User

12y ago

Best Answer

Depends on your operating system. Everything you can type into your cmd, powershell or terminal, works in a batch file. Plus you can use conditional and loop statements (syntax depends on your operating system). Under Windows you can turn off output of source on a console by writing "@echo off" as your first line of your batch file or precede every statement by "@."

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are some batch file codes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the extension of batch file?

the extension of a batch file is ".bat"


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 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.


How can you open a separate program with Batch files and then close that program with Batch?

Batch file that opens a program waits 5 seconds then closes that program. For some reason I cannot get this batch to perform the open portion, wait, then the close portion in .... startup batch file hangs up on second command.


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".


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

A Batch Script


A group or list of commands?

A Batch. generally in a BATch file.


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.