IT Hardwares

eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
Business & Money
Technology
Women
Health
Education
Family
Travel
Cars
Entertainment
SD Editorials
Online Guide and article directory site.
Foodeditorials.com
Over 15,000 recipes & editorials on food.
Lyricadvisor.com
Get 100,000 Lyric & Albums.
  • Business & Money
    • A Guide to Business
    • Guide to Finance
    • Ideas for Marketing
    • Legal Guide
    • Guide to Insurance
    • Lettre De Motivation
    • Guide to the Stock Market
    • Human Resource Career
    • Sales Marketing
    • Forex & Trading
    • Advertising & Marketing
    • Startup Guide
  • Technology
    • Guide to Technology
    • Cell Phones
    • Computer Software
    • IT Hardwares
    • Internet
    • Online Security
    • Cameras
    • Search Engine Optimization
    • Science & Technology
  • Women
    • Guide to Women
    • Relationship Advice
    • Marriage
    • Jewelry
    • Pregnancy
    • Fashion Style
    • Divorce Guide
    • Wedding Guide
    • Dating Guide
    • Natural Beauty
  • Health
    • Guide to Health
    • Guide to Medical
    • Plastic Surgery
    • Weight Loss
    • Sports
    • Body Wellness
    • Cancer Treatment
    • Common Illness
    • Health & Lifestyle
  • Education
    • Military Service
    • Politics and Policy
    • Arts & Humanities
    • Education and Teaching
    • Learn Languages
    • Colleges & Universities
  • Family
    • Quality Home Improvement
    • Hobbies and Interests
    • Family Guide to
    • Pet Guide
    • Loans Guide
    • Credit Cards
    • Gardening Guide
    • Home Security
    • Real Estate
    • Home Decor
    • Gift & Present
  • Travel
    • The Travel Guide
    • Adventure Travel
    • Cruise Ships
    • Beach Holiday
    • Travel Accommodation
    • Holiday Destinations
  • Cars
    • Information on Cars
    • Traffic Violations
    • Auto Insurance
    • Trailers
    • Sport Cars
    • The Bikes
  • Entertainment
    • Entertainment Guide
    • World Music
    • Photo & Video
    • Television & Games

How To Make Batch Files

    View: 
If you're familiar with MS-DOS at all, you'll recall that it's a command-driven operating system that performs functions issued at the C:> prompt. The only way to get an MS-DOS computer to do something was to type a command at this prompt and if you can imagine, it was a rather cumbersome way to use a computer.



As an example, to load up Microsoft's simple editing program, you had to type 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 the program by typing, "C:>processedit.com" Then, and only then would the program load up for use.

This is a small command, but just imagine if you had a program that was deeply nested within a series of folder. You could end up typing a command as wide as your computer screen or worse, long enough that the entire command would have to wrap onto the next line! Now imagine having to type these long commands every time that you wanted to start a program. Yikes!

That's one of the reasons why batch files became so popular. Batch files are small text-based documents that contain a bunch of these commands on their own lines. When executed, they would process each command without the user having to type each and every one of them.

When Windows was developed, the need for typing commands was essentially eradicated thanks to the introduction of the point-and-click (mouse) interface. But this didn't stop the batch file fever that started under MS-DOS - and in some small circles, batch files are still as popular as they were in the beginning.

Even though you may use Windows XP or Vista, batch files can save you tons of time by automatically starting multiple programs and performing different tasks at the single click of a button. They don't require any extensive programming background and they don't need to be encrypted with some weird, expensive compiler. Batch files are plain text files, and you can build one for your own personal use with Windows' Notepad.

You could make a batch file that loads up your favorite websites at once for example, or you could make a batch file that fills your desktop with the most important applications for the day. To do so only requires a little knowledge about the locations of these applications.

Let's say that every day we need to load up the Yahoo web browser, Microsoft Word, and then the calculator that comes with Windows. Instead of doing this by hand, we could write a batch file to do it for us.

First, we'd load up Notepad and type in the following:

START "http://www.yahoo.com"

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

START "c:/windows/calc.exe"

We would then save this data into a file named, "mytasks.bat" onto the Desktop for easy access. Each time we double-clicked on this file, the Yahoo website would load up, Microsoft Word would start, and the simple calculator would pop up.

Since we want these programs to load every day, we could create a shortcut to this file and then place the shortcut inside our computer's Start Up folder. That way, these three programs would load every time we turn on the computer. If you wanted these programs to start minimized, you could type the following into a batch file instead:

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

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

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

This will run all three programs as before, however the "/m" parameter will minimize them so that they don't clutter up the desktop.

Other people have found much more creative and effective ways to use batch files, but the important thing is that you know they're a resource you can use to save a few seconds or minutes in performing important tasks. We've come a long way from MS-DOS, but it's still a valuable source of automation that anyone can use with no programming knowledge at all.
How To Make Batch Files
Remember that black window of MS DOS commands in the days when Windows operating systems were not born? That some commands would actually run for lines in order to open up a file lodged deep in folders? Then came batch files where one would write down the most common commands in notepad and that would automatically launch those files every time that the computer is switched on. In came the world of automations. With the advent of the Windows series XP until Vista, we were introduced to the mouse and screen interface and with couple of clicks of the button files are now opened, browsers being accessed.

Today the MS DOS commands may seem to be things of the past but the concept of batch files has survived over the ages and still many are loyal to it when it comes to saving time and achieving automation in the least possible time. How? Following are some of the benefits of using batch files to help automate few of the functions that you perform on your computer regularly.

It will save time enormously as all you need to do is click on an icon on your desktop to open three/four files simultaneously.

You can have your most favorite files and websites open automatically as you switch on your computer.

Batch files will help you cut through the number of clicks that you may need to find a hidden file that you access frequently.

So what are batch files?

Batch files are text-based documents containing MS DOS commands. When executed, each command will be processed without the user being required to type each command. Batch files are simple text files that can be built easily with Windows' Notepad where you would type in all the commands once and then forget about it!

Sample Batch File

Let's consider that you use Google, Microsoft excel and control panel everyday. So if you were to create a batch file with commands for all these three to automatically open, you will need to first open the notepad.

Then type the following:

START "http://www.google.com"

START "c:/program files/microsoft office/office/winexcel.exe"

START "c:/windows/control.exe"

Now save the notepad file as "Batchfile01.bat" or any other name that suits your requirement with .bat extension on the desktop.

Every time that you click on the desktop icon, the three windows will open automatically and you will not need to click on a number of items.

Better still, if you save a shortcut of the same in the start up folder of your computer, then every time that you start your computer, the three windows will start up automatically and you do not have to click on the icon either.

If you want the windows to open in a minimized format then just add "m" at the end of each command. So your commands will look like as follows:

START "http://www.google.com"/m

START "c:/program files/microsoft office/office/winexcel.exe"/m

START "c:/windows/control.exe"/m

There are other innovative ways to create more batch files. These are simple to create and you can test your knowledge in creating good batch files. Remember you do not need to be a software programmer to create one!
More Articles from
Where Is The Best Place To Get A Personal Loan
Kids Educational Computer Games
Kids Sites For Learning
Kinds Of Online Games
Know Your Ip Address
Kyocera Kr1 Mobile Router
Laboratory Equipment Second Hand
Land Of A Thousand Words
Laptop Backpacks For Women
Laptop Bag For Women
Laptop Bags & Cases
Laptop Bags And Cases
Laptop Bags For Girls
Laptop Batteries For Less
Laptop Batteries For Sale
Laptop Battery Life Tips
Laptop Bios Password Recovery
Laptop Computers For Children
Laptop Laidback Ergonomic Laptop Table
Laptop Or Desktop Computer
Laptop Over Bed Table
» More on
Choose Desktop
  • Related Articles
  • Author
  • Most Popular
•How To Make Batch Files, by James Dickisonn
About Author
Both James Dickisonn & Gregg Hall are contributors for EditorialToday. The above articles have been edited for relevancy and timeliness. All write-ups, reviews, tips and guides published by EditorialToday.com and its partners or affiliates are for informational purposes only. They should not be used for any legal or any other type of advice. We do not endorse any author, contributor, writer or article posted by our team.

James Dickisonn has sinced written about articles on various topics from Wellness, Health and Business Promotion. Learn about and other great topics like
Best Place For A Holiday
This Aspen guide provides more information about the type of lodgings that a traveler can expect to find, the names of best hotels, condos and resorts in Aspen
 
A Guide to Business | Guide to Technology | Guide to Women | Guide to Health | Family Guide to | Travel & Vacations | Information on Cars

EditorialToday IT Hardwares has 2 sub sections. Such as Computer Guide and Hardware. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors