Thanks - both of these are good suggestions. It's interesting to see that the version (result of "ver" command) for Windows 7 is "6.1".
On Mon, Dec 19, 2011 at 1:44 AM, Marc Simpson <m...@0branch.com> wrote: > On Mon, Dec 19, 2011 at 11:11 AM, Devon McCormick <devon...@gmail.com> > wrote: > > Does anyone know an easy way to figure out, in a batch file, which > Windows > > OS (XP and Windows 7 are all I really care about) I'm running under? > > Does this help: > > http://www.grimadmin.com/article.php/batchfile-easy-way-to-detect-os-version > ? > > Best, > M > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm