On Tue, 28 Jan 2003 14:20:57 -0800 (PST), Jonathan Johnson <[EMAIL PROTECTED]> wrote:
>The command "ver" returns the version, but that's not really helpful, >because in a batch file script, you can't use the output to control the >direction of the script. ver | find "95" > nul if not errorlevel 1 set SISTEMA=WIN9X ver | find "98" > nul if not errorlevel 1 set SISTEMA=WIN9X ver | find "Millennium" > nul if not errorlevel 1 set SISTEMA=WIN9X ver | find "NT" > nul if not errorlevel 1 set SISTEMA=WINNT ver | find "2000" > nul if not errorlevel 1 set SISTEMA=WIN2K_XP ver | find "XP" > nul if not errorlevel 1 set SISTEMA=WIN2K_XP -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba