Taking back time with batch files

Cases automation with batch files
Today they work on computers!

If you are using MS-DOS to remind all that there is a motor control of the operating system on which the functions, published on the C: prompt. The only way a computer MS-DOS was to do something with the input of a command to the command prompt, and if you can imagine, it was a little difficult to use a computer.

As an example of Microsoft is just a publisher, you have the name of the CD, the program to the directory, which was then the name of the program. So, if Microsoft was in a directory or folder to change the name of “processes” you can start the program by typing “C:> Process \ edit.com” Then and only then loaded on the program to use.

This is a small, but, if you have a program that is deeply embedded in a series of documents. You start by selecting a command as wide as the screen of the computer, or worse still, long enough that the entire order is it in the next line! Now imagine you enter a long command every time you wanted a program. Yikes!

It is one of the reasons why the files were so popular. Are small text files placed on documents that contain a lot of these commands, their own line. When running, it is processed without prompting the user for the input everybody.

When Windows was developed, the command was to be eradicated mainly thanks to the introduction of point-and-click (mouse)-interface. But that is not the file-fever started under MS-DOS – and in some circles, the files are always so popular that they were at the beginning.

May, even if you have Windows XP or Vista, the files you can save tons of time automatically from multiple programs and the execution of tasks from the simple click of a button. You do not have a comprehensive plan, and they need not be quantified with a strange and expensive compiler. Batch files are files in plain text and can be used in a personal use with Windows Notepad.

You can create a batch file that resides on your favorite websites, for example, or you can create a batch file that fills your office with the most important applications of the day. To achieve this, requires very little knowledge about the requirements for these applications.

Say that every day, we invite Webbrowser Yahoo, Microsoft Word, then the computer with Windows. Instead, with the hand, we write a batch file to make it for us to do.

First, we invite the editor and enter the following text:

START “http://www.yahoo.com”
START “c: / Program Files / Microsoft Office / Office / winword.exe”
START “c: / windows / calc.exe”

If we store this data in a file called “mytasks.bat” on the desktop for easy access. Every time we double-click the file, the website of Yahoo invites Microsoft Word starts, and the calculation of pop-up.

As we invite these programs every day, we can create a shortcut to this file, then the link with the computer in our boat. In this way, these three programs are loaded when we are on the computer. If you want these programs is minimized, you can use the following text in a batch file:

Http: / / www.yahoo.com START / m
START “c: / Program Files / Microsoft Office / Office / winword.exe” / m
START “c: / windows / calc.exe” / m

This is all three programs, but the “/ m” is reduced to a minimum to ensure the settings are not burdens to the office.

Others have much more creative and effective ways for the use of files, but it is important that you know that they are a resource that allows you to save a few seconds or minutes in the execution of important tasks. We have come a long way from an MS-DOS, but it is still a valuable source of automation that anyone can use without having to go from planning everything.

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply