i need to find out how to create a new batch file in my computer
Five answers:
...Sky the Limits...
2006-03-10 16:57:57 UTC
What do you want to know about batch files?
Batch files are created in Notepad or any simple text editor...
You type in MS-Dos commands that you want to execute, then save the file as whatsoever.bat, and for Win2K/XP/2K3/Vista, the file can end with ".cmd" instead of ".bat"
Some of the commands include:
dir
cls
del
deltree
cd..
cd\
cd
pause
and many other DOS commands that may run for other programs...
for example...you can run ping command on a certain IP automatically by simply executing the batch file:
ping localhost - this does a backward pinging - pings on yourself
If you are a Win9x/ME user, you can create a batch file with this command to shutdown:
rudll32 user32, exitwindows
Win2000:
Only done via API through programming languages
WinXP/Vista:
Shutdown -s
You need to know the program you want to master via Batch commands and its internal parameters to be able to control it...
Hope this helps..
?
2016-05-20 14:43:02 UTC
That batch file works great if you want the same applications to always open at once. But, what if you have a number of applications that you use frequently, and only want to choose from a list, a certain combination of applications to open at the same time? For example, you have a book report due and you need to research the material on the Internet. In this case you want to open Microsoft Word and Firefox.
P Shooter
2006-03-10 16:47:58 UTC
I believe you just create a new file with the extension .BAT.
Richard H
2006-03-10 16:49:12 UTC
type the commands you want to run into a NOTEPAD document, and save it using the All Files filter and type in .BAT as the extension
a13M20S8
2006-03-10 16:51:06 UTC
you may use any progam that will save the file in 'text' format, and make sure the file extension is .bat, because if you use wordpad the default is .rtf
hope this helps !
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.