View Single Post
Old 20-09-2005, 01:42   #14
Xaccers
Inactive
 
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 48
Posts: 12,969
Xaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny stars
Xaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny stars
Re: Using the Command Prompt

Quote:
Originally Posted by Wicked_and_Crazy
why in this day and age would people be taught DOS commands? The whole point of having a GUI is to stop the user having to remember command names and the syntax of those commands
Because writing a batch file is much easier than learning VB and doing the same with that.

Take this example:

We have web servers at a remote location, they're running NT4
We have a reporting server with webtrends installed on it which produces monthly reports on web usage.

Previously, the guys would have to log onto a gateway server at the remote location and map a network drive to it.
Then from the gateway server, connect to the web servers, zip up the web logs, map a drive to the web servers from the gateway server, copy the logs over, then copy them to their local PC.
Then map a drive to the reporting server, upload the zipped log files, log onto the reporting server, unzip the files, manually run the web trends report and then clean up all the files.

It used to take hours.
Now, with a few simple batch files, that is all fully automated.
The web trends report appears as if by magic

Now imagine if I didn't know my dos commands... (ok, I've been using it since dos3)
Xaccers is offline   Reply With Quote