Automating Points With Batch Files They Work On Today’s Computers Too!

If {you are} familiar with MS-DOS at all, {you will} recall that {it is} a command-driven operating {program} that performs functions issued at the C:> prompt. The only method to get an MS-DOS pc to do {some thing} was to kind a command at this prompt and when you can envision, it was a rather cumbersome approach to use a personal computer.

 

As an example, to load up Microsoft's very simple editing program, you had to kind the name of the drive that the program was on, the directory that the program was in, and then the name of the program. So if Microsoft Edit was in a directory or folder named "Process," you could start off the program by typing, "C:>processedit.com" Then, and only then would the program load up for use.

 

This is really a tiny command, but just envision when you had a program that was deeply nested {inside} a series of folder. You could {wind up} typing a command as wide as your pc screen or worse, {lengthy} {sufficient} that {the whole} command would {need to} wrap onto the next line! Now picture having to sort these {lengthy} commands just about every time that you simply wanted {to begin} a program. Yikes!

 

{That is} {among the} {factors} why batch files became so common. Batch files are tiny text-based documents that contain a bunch of these commands on their own lines. When executed, they would procedure each and every command without having the user having to kind each and every and each and every {1} of them.

 

When Windows was developed, the need to have for typing commands was {basically} eradicated thanks to the introduction of the point-and-click (mouse) interface. But this didn't {quit} the batch file fever that {began} under MS-DOS - and in some modest circles, batch files are still as preferred as they {had been} inside the beginning.

 

Although you might use Windows XP or Vista, batch files can save you tons of time by automatically {beginning} several programs and performing unique tasks at the single click of a button. They {do not} call for any extensive programming background and they {do not} {have to be} encrypted with some weird, pricey compiler. Batch files are plain text files, and it is possible to create {1} for your own {individual} use with Windows' Notepad.

 

You could make a batch file that loads up your favorite internet websites at when for instance, or you could make a batch file that fills your desktop with essentially the most vital applications for the day. To do so only demands somewhat information about the locations of these applications.

 

Let's say that each day we have to have to load up the Yahoo {internet} browser, Microsoft Word, and then the calculator that comes with Windows. Rather than {performing} this by hand, we could write a batch file to do it for us.

 

Very first, we'd load up Notepad and sort inside the following:

 

Start off "http://www.yahoo.com"

Begin "c:/program files/microsoft office/office/winword.exe"

Begin "c:/windows/calc.exe"

 

We would then save this {information} into a file named, "mytasks.bat" onto the Desktop for quick access. Every time we double-clicked on this file, the Yahoo web-site would load up, Microsoft Word would begin, plus the basic calculator would pop up.

 

Considering that we want these programs to load each day, we could make a shortcut to this file and then {location} the shortcut inside our computer's Commence Up folder. That way, these {3} programs would load every single time we turn on the pc. When you wanted these programs {to begin} minimized, you could kind the following into a batch file instead:

 

Begin http://www.yahoo.com /m

Commence "c:/program files/microsoft office/office/winword.exe" /m

Begin "c:/windows/calc.exe" /m

 

This can run all {3} programs as prior to, nevertheless the "/m" parameter will minimize them {to ensure that} they {do not} clutter up the desktop.

 

Other folks have {discovered} {a lot more} creative and efficient methods to use batch files, but the crucial {factor} is that you simply know they're a resource it is possible to use to save a number of seconds or minutes in performing crucial tasks. We've come a {lengthy} way from MS-DOS, but {it is} still a {useful} source of automation that any individual can use with no programming information at all.

Doc. No.320-WC-LRD25-mr18

 

 

Keishita Yoshitoku loves to writer short stories. She writes about all kinds of subjects. Check out her Trade Show Rental and HP Coupons

Both comments and pings are currently closed.

Comments are closed.