I often make various batch programs to use on different machines, and sometimes I need to perform different operations for different systems. So how can I use a batch file to get Windows version information (and make it general-purpose)?
In Windows I use the installer creation program CreatInstall 2000 to define macros and get values from the registry, and that works, but I don't know whether this can be done in a batch file.
In Windows I use the installer creation program CreatInstall 2000 to define macros and get values from the registry, and that works, but I don't know whether this can be done in a batch file.


