General discussion


Writing batch files

By TheProfessorDan ·
I really want to get better at writing batch files and would like to create a menu like batch file to perform some of the routine tasks that we do here at work. Can anyone suggest a good book or a source online that will help me improve my batch file writing skills?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

I am familar with searching the internet

by TheProfessorDan In reply to Have you never heard of G ...

I was wondering if anyone had read any good books that pulled all of this information together.

Collapse -

2 things...

by ---TK--- In reply to I am familar with searchi ...

check out MS Technet for scripting: it might be a little more useful.

for Batch files check out this link, it has alot of the basic commands and syntax... Plus links

Collapse -


by TheProfessorDan In reply to 2 things...

I have done some basic scripting but I have some ideas about some scripts that I can write for work that might automate some of the simple tasks that we do here. I would like to create my own menu like script that utilizes PSTools. Like I said, there are a million online tutorials and each of them seems to hit on one aspect of scripting.

Collapse -


by ---TK--- In reply to Thanks

I know the feeling, there is always 15 different ways to do one task... When ever I have a specific task, I just google it. 9 times out of 10 someone else has already done it so the code is there for you to tweak..

You might find this interesting also:

Collapse -

I like the Script Center

by TheProfessorDan In reply to yeah....

I can see this being a very useful resource.

Collapse -

O'Reilly and 'Missing Manual' books

by Geek3001 In reply to Writing batch files

<p>You might see if there is an O'Reilly book on the topic. Some of their 'cook books' do a good job of providing easy to use examples of frequently used code.</p>
<p>The 'Missing Manual' books by Pogue may also have something you can use.</p>

Collapse -


by TheProfessorDan In reply to O'Reilly and 'Missing Man ...

I appreciate it. I will look into those books.

Collapse -

Batch Files are an almost lost art

by GSG In reply to Writing batch files

I've written a few batch files to automate some processes, but I'm not that great at it. You might check out some of the older books that are out there. Maybe check a used book store, or use Amazon's search on out of print books.

I say that because none of the younger IT people in our department know how to write batch files, and thought I was crazy for using them. Those of us who are a bit older realized how powerful they can be.

I cut 4-5 hours of manual processes out of my week by scheduling batch files.

Collapse -

I used to work as a contractor for the Navy

by TheProfessorDan In reply to Batch Files are an almost ...

One of the civilians working for the Navy told me that learning DOS was stupid. This was an IT guy working for the Navy. Nuts.

Related Discussions

Related Forums