Re: scripting vs. batch files?



"Linn Kubler" <lkubler@xxxxxxxxxxxxxxxxxx> wrote in message
news:uUh$IXzpFHA.3064@xxxxxxxxxxxxxxxxxxxxxxx
> 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...

Learning to script is time well spent! However, you can accomplish the
above in batch:

for /f "tokens=3" %%a in ('ver') do set Windows=%%a


.



Relevant Pages


Loading