Re: scripting vs. batch files?
- From: "James Whitlow" <jwhitlow@xxxxxxxxxx>
- Date: Mon, 22 Aug 2005 21:41:31 -0500
"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
.
- References:
- scripting vs. batch files?
- From: Linn Kubler
- scripting vs. batch files?
- Prev by Date: Re: scripting vs. batch files?
- Next by Date: Re: Create a Scheduled Task
- Previous by thread: Re: scripting vs. batch files?
- Next by thread: Re: scripting vs. batch files?
- Index(es):
Relevant Pages
|
Loading