writing .bat file?


What can you use to write a .bat file?
Is it WSH or PowerShell or vscript?
Or fixed?
Who is Participating?
Rahul_GadeConnect With a Mentor Commented:
.bat file stands for DOS batch files, which means it is just the set of DOS commands arranged in sequence to produce some desired output. This DOS scripting is also supported in cmd.exe mode provided by Windows XP,2K,2K7 etc.
So, e.g. if you want to copy certain files at startup and delete the older files, then you may write delete and copy or xcopy command in a text file and save it as .bat file. Which when executed will run in sequence to produce the expected output. So, you can start writing a batch file using simple notepad, and you need only command shell like command.com or cmd.exe to run it on windows.

for_yanConnect With a Mentor Commented:
Are you atliking about writing .bat file with Java program?
Then you werite it just like any other twext file
Gerwin Jansen, EE MVEConnect With a Mentor Topic Advisor Commented:
Use notepad or just any other plain text editor!
Does this have anything to do with Java Programming Language?
dkim18Author Commented:
I guess I posted this in the wrong place.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.