Results 1 to 5 of 5
  1. #1
    Banned Member
    Join Date
    Jul 2002
    Location
    Newport Richey, Florida, USA
    Posts
    2,149
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Batch File Question

    Just curious. With all the Software programs out there that can pretty much do what ever you want them to do, why would anyone need to use Batch Files? I don't know much about Batch Files except for the fact you can write your own little command program file. But I was just curious as to if Batch Files are a better way to do things and less intrusive, or just fun to do because you create them yourself.

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Batch File Question

    I've written BATch files since 1982! I use them to do the same set of actions on each server, or each workstation. With the "command extensions" that came in NT4 you can do "almost" everything with the right utilities. Only WIMps use WMI!

    For example, we had to increase the Registry Size Limit on each workstation because it was (now) insufficiently large. With a list of workstations, REG.EXE from XP, and a BATch file I was able to do this remotely.

    There are a couple of Google groups wherein BATch file chaps (rarely ms-chaps!) hang out, such as alt.msdos.batch.nt and microsoft.public.win2000.cmdprompt.admin.
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Batch File Question

    Younguns like you have "grown up" with all the GUIs available in the Windows era, but for oldtimers like me, batch files frequently come in quite handy. I must admit, however, that unlike John and several others here in The Lounge, I've let my batch file skills deteriorate over the past several years. I have a shortcut on my desktop for the DOS CMD prompt. They come in handy for me for tasks like: when I suspect my DSL connection is out, I drop to DOS and run a batch file (called P) to ping the gateway of my ISP to see if I get a response. I also use a batch file to delete all the (selected by me) temporary files on my hard drives, in locations where I know them to be. That task includes temp files created by programs like graphics viewers and so on. I admit, it's a dying "art" that probably won't be around much longer, but I still rely on it whenever the need exists.

  4. #4
    Banned Member
    Join Date
    Jul 2002
    Location
    Newport Richey, Florida, USA
    Posts
    2,149
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Batch File Question

    Yeah your probably right Sarge. Of course thats OK with me, I like the GUI generation, but you know me Doc, I am also very inquisitive and like to know about such things. You know: How come,What for,Are you sure, and is it neccessary, kinda stuff. <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15> And thanks for calling me a Youngun, or was that Young Gun. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Batch File Question

    While it can be hard to uncover the syntax for some of the DOS/batch commands, there is a simplicity in not having to find/license/load/test a whole bunch of little (or big) utilties to do things that are built in to the command shell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •