Making Batch Files With Ease

Batch scripting is quite an old technique, but it is still widely spread all over the world. Thousands of people use batch files every day to automate boring tasks. Are there any really powerful tools to make batch scripts?
First of all let’s look at advanced notepads, powerful editors for programmers, HTML coders, system administrators, etc. You can find dozens of them on any software archive. Still the most popular ones, to my mind, are Notepad++ and SciTE.

The most attractive feature is their price because everybody is allowed to use them for free. There are also some commercial editors like UltraEdit32. But from the point of a batch creator they do not differ from the free ones.
There are some pros and cons in using advanced notepads to write batch files. First, let’s look at the pros. Utilities like Notepad++ provide such features like syntax highlighting, bookmarks, lines numbering, code folding and some others. These features make the process of batch files more comfortable, but the most powerful features like code tooltips are still not supported in case of batch files. The first con is that there are no editors that support code tooltips for batch files. Another con is that you have to use some external tools for the batch scripts creation, for example, just to look through the values of environment variables. Really practical tool must include all these features itself.

So it can be stated that an advanced notepad is better solution than usual Notepad from Windows, but these programs are still not really handy for a batch files creator. Thus we go ahead to another class of software. Let’s look at scripting development environments.

You can find lots of great scripting integrated development environments (IDEs) with help of search engines, but they are also not very useful for those who want to create batch files. Why are they useless for batch developers? Unfortunately most of them are designed for PHP, Perl or other scripting languages popular in the area of site building. Lesser amount of IDEs are designed for programming using VBScript or Windows PowerShell, but not batch scripts. Well-known environments for scripting development under Windows are AdminScriptEditor and PrimalScript. Of course, there are a lot of other good IDEs helping you to create and debug different scripts.
Batch scripts are usually supported by an IDE, but the meaning of ‘support’ can be different.

Unfortunately, typical scripting environment cannot offer anything more than an advanced notepad for batch writers. There is no full-featured scripting IDE supporting code tooltips, debugging and other really useful features for batch files. They offer all these functions for ‘big’ scripting languages, but for others they aren’t provided. Batch scripting is placed among these ‘poor’ languages and thus programming environments doesn’t provide the handiest features for it.
Scripting IDEs are widely used to create batch scripts, but they also don’t offer many good things that are available for those who use other scripting languages. So we need to continue the search for a perfect tool for the batch files creation. The closest to the perfection from this point of view is the utility called Dr.Batcher.

You may think that there is no utility specially designed for batch scripting. But such tool is available on market. It is called Dr.Batcher, but that’s not a true scripting IDE for batch scripts. This tool provides interface helping to create batch files both for professional batch programmers and for users who have never created batch scripts before.

Dr.Batcher provides two different modes of the editor: a simple and a professional one. Professional mode looks like ordinary scripting editor (for example, like UltraEdit32) with such features like syntax highlighting, bookmarks and code tooltips. Simple mode is a kind of a visual editor. In a simple mode all commands of a batch script are represented in the style understandable for anyone. Simple mode provides you with all necessary information about commands and their parameters without calling Windows help. You see all you need to know about each command and each parameter during the batch file development, and that’s really useful. If Dr.Batcher isn’t able to show you all necessary information, you can perform one-click Web search with the help of your preferable search engine.

The utility also provides you with some additional functions. For example, you can easily look through the values of environment variables and copy them, or convert batch scripts from DOS text encoding to Windows and vice versa. Unfortunately, there is still no batch scripts debugger in Dr.Bacher. But I hope we’ll see it soon because the manufacturer of Dr.Batcher quite often releases new versions. Dr.Batcher is not free, but it is also quite cheap: by now it costs $30 per copy.

So I can say that there are no perfect tools for batch scripts creation, but the most comfortable of the existing ones is Dr.Batcher.

Read helpful knowledge about the topic of Backup to flash – make sure to study this webpage. The times have come when proper information is really within one click, use this chance.

[Ask] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [Squidoo] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]


Comment