"KC" wrote:
> My objective is to have a batch file that determines
> the computer's operating system...
See the Mount/\Command "GetOS", which is part of the FREE Advanced NT/2K/XP
Command Library (ntlib.cmd).
(
http://TheSystemGuard.com/MtCmds/GetValue/GetOS.htm)
*******
Notes:
1. .Mount/\Commands are constructed using ONLY builtin
commands common to all four platforms (NT/2K/XP/K3).
2. .M/\C's are NOT case sensitive. Mixed case is used
for visual clarity only.
3. ntlib.cmd provides over 100 resources to assist with
writing and documenting cross-platform scripts.
You can obtain it (for FREE) at (
http://ntlib.com).
*******
-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!
Re: Why Won't my Batch File run in Win 2K or XP?
Posts: n/a