answersLogoWhite

0

Open up a notepad.

Type in the the batch parameter you need to run.

Then save it as a .bat file.

File > Save as > myfile.bat

Example:

If you need to to copy a file (filename picture001.jpg) in C: drive to the D: drive, you can create the batch to do the task by typing the following parameter in the batch file.

xcopy [path of the file] [destination path]

xcopy C:\picture001.jpg D:

Now save it as a batch file and double click to run it.

Enjoy!

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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


How is batch file created?

1. open notepad2. save file as yournameforthefilehere.bat


How to create a batch file and impliment it?

To create a batch file open notepad, textedit, or whatever editor you wish to use. Once open write your program, check for errors, and "make simple text." Save this program as whateveryouwant.bat. Open the file and the batch file will execute.


How do you make bat files?

You can make a batch file from a note pad by saving it as YOURFILENAME.bat. Click on FILE on the menu and choose SAVE AS, then save it as YOURFILENAME.bat.


How can you run a file on startup using CMD?

Make a batch file. Open up notepad, type in the commands just like you would if you had a C:\prompt and choose "save as." When you save it, remove the .txt extension & use .bat instead. Batch files can be executed just like an .exe, any commands in the batch file are put to a command prompt & executed. So just put the batch file (or a shortcut to it) in programs/startup in your start menu & youre done!


What is the extension of batch file?

the extension of a batch file is ".bat"


How do you create and run a batch program?

Easy enough to create a batch program is you know what the commands are simply goto a text file or notepad and save it as "something.bat" and click on it


How do you make a batch file?

To create a batch file, click on Start > All Programs > Accessories > Notepad.Enter the commands you would like to execute.Click on File > Save. When prompted for a file name, you must select the file type "All Files (*.*)". Make sure the file name ends in ".bat", such as "dostuff.bat".The file will be saved in the folder you specified. It can be executed by double-clicking on the file.


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 do you create a batch file on your computer?

You create a batch file by opening up a text editor, the standard windows one is Notepad. Next just start coding using dos commands, for a tutorial visit http://www.allenware.com/icsw/icswidx.htmOnce you finish writing your file just click File-->Save As--> fileName.batAlso choose all files under the "Save as Type" drop down menu.


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.