scripting vs. batch files?



Hi,

I've been using batch files for ages, nothing too complex but useful. I was
just trying to figure out how, in my logon batch file, I could detect if a
client was Windows 2000 or Windows XP. One of the solutions suggested is in
the form of a VB script. So that made me wonder...

Can you incorporate scripting syntax in a batch file or should I stop using
batch files for logon scripts or what? Just how do you decide when to use
scripting and when to use batch files?

I'm browsing through the scripting center right now and am also wondering
the best way to learn scripting... are there any good books on the subject,
or which are the best books? Or, is it just as easy to work through the
examples in the scripting center?

Any thoughts?

Thanks in advance,
Linn

P.S. Remove the "2" from my domain name for email responses.


.



Relevant Pages

  • Re: scripting vs. batch files?
    ... >| I've been using batch files for ages, ... >| client was Windows 2000 or Windows XP. ... >| Can you incorporate scripting syntax in a batch file or should I stop using ...
    (microsoft.public.windows.server.scripting)
  • Re: Is vbscript appropriate tool?
    ... contrast of using vbscript versus batch files for tasks such as the ... actual scripting examples for just about all the basic functions. ...
    (microsoft.public.scripting.vbscript)
  • Re: Network Timeout in Script
    ... > scripting, more batch files. ... The client machine list is editable and pulled from ... > Is there anyway I can change this default timeout for network connections to ...
    (microsoft.public.windows.server.scripting)
  • Re: scripting vs. batch files?
    ... | I've been using batch files for ages, ... | Can you incorporate scripting syntax in a batch file or should I stop using ... are even macros in Kixtart to directly determine the OS without querying the Registry. ...
    (microsoft.public.windows.server.scripting)
  • Re: scripting vs. batch files?
    ... Linn ... > I've been using batch files for ages, ... > Can you incorporate scripting syntax in a batch file or should I stop ... or which are the best books? ...
    (microsoft.public.windows.server.scripting)