Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch Windows Version Check.
Name: Ruisu Date: April 29, 2009 at 21:23:52 Pacific OS: Microsoft Windows XP Professional CPU/Ram: 2.31 GHz / 3070 MB Product: Gigabyte / Nvdaacpi Subcategory: Batch
Comment:
Hello. How could i add a windows version check to batch. Eg. It automaticly detects the windows version and redirects it to the appropriate section of the batch file. I was thinking of something along the lines of: if "%ver%"=="Windows XP" GOTO XP But of course, ver is not a variable. Could someone please give me the best possible way to do this? Thanks for your help.
Summary: I'd like to know what different DOS/Windows versions report when you type "ver" at DOS prompt and does some programs like 4DOS or other replace it with their own. Also does other than MS-DOS support t...
Summary: Hi, I'm currently struggling with a problem. I want to create a batch file that checks the file size of a file, and compares the size with the last time it was checked. If it's equal it has to do noth...
Summary: I have a batch script that copies the entire contents of a CDrom to my server and then creates a text file that is a script to import image files into our printing software. My problem is that these f...