How To Write A Simple Batch (.bat) File

The place for what's new and going on in the tech, innovation, and science world.

How To Write A Simple Batch (.bat) File

Postby Egaladeist » Thu Mar 25, 2010 10:12 pm

Batch files are the computer handyman’s way of getting things done. They can automate everyday tasks, shorten the required time to do something, and translate a complex process into something anyone could operate.


In this article, I’m going to show you how to write a simple batch file and present some basics that a user will need to understand when writing one. I’ll also provide you with a few resources for learning to write batch (.bat) files in case you’d like to go further.


Step 1: Create A BAT File

more here

http://www.makeuseof.com/tag/write-simp ... -bat-file/
User avatar
Egaladeist
I am the Eg man : Coo Coo Ca Choo
 
Posts: 18852
Joined: Sun Dec 25, 2005 1:02 am
Location: Canada

Re: How To Write A Simple Batch (.bat) File

Postby THE Doctor » Wed Apr 07, 2010 1:01 pm

Yeh.. and it won't be long and one will thirst for more... May I recommend: http://www.autoitscript.com/autoit3/index.shtml as one port of call for those that become bored.. handy for lazy ppl like myself
.. The trouble with life is there's no background music..

Remember Grasshopper: The original point and click interface was a Smith & Wesson.
User avatar
THE Doctor
Ex Und3rtak3r from OZ
 
Posts: 6583
Joined: Tue Dec 27, 2005 1:30 pm

Re: How To Write A Simple Batch (.bat) File

Postby DaFoxx » Wed Apr 07, 2010 7:32 pm

Egaladeist wrote:Step 1: Create A BAT File


So, Eg, how went it with YOUR .bat creating :P :D
Beware of Geeks bearing GIF's :mrgreen:
User avatar
DaFoxx
DaBOSS
 
Posts: 8479
Joined: Sun Dec 25, 2005 1:20 am
Location: 3rd Rock from the Sun

Re: How To Write A Simple Batch (.bat) File

Postby rapier57 » Wed Apr 07, 2010 8:10 pm

Well, EG made a typo and ended up creating a BAT cave.

After going back in and doing some edits, it came out as a Louisville Slugger. OK, so he needs some additional BAT programming tutorials.
Rapier57.

Jayne: Testing. Testing. Captain, can you hear me?
Mal: I'm standing right here.
Jayne: You're coming through good and loud.
Mal: 'Cause I'm standing right here.


@rapier57
User avatar
rapier57
I've posted HOW many
 
Posts: 3113
Joined: Thu Mar 02, 2006 10:43 pm
Location: Spokane, WA USA


Return to Tech News Zone

Who is online

Users browsing this forum: No registered users and 12 guests

cron