Thread: Identifying Windows Version, Outside of Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    I have never done any Windows programming . It was just a wild guess.

    It's easy to check, though.

    Attached is my XP Pro SP2's winver (change the extension to exe), try running it?

  2. #2
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    Quote Originally Posted by cyberfish View Post
    I have never done any Windows programming . It was just a wild guess.

    It's easy to check, though.

    Attached is my XP Pro SP2's winver (change the extension to exe), try running it?
    You are correct. It outputs correctly as Vista on my PC. So it must be getting the job done by reading the values from the registry. Silly of me to expect them to write a different program for each version instead of reusing the existing one.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 7, First Impressions
    By Mario F. in forum General Discussions
    Replies: 16
    Last Post: 08-11-2009, 06:46 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. MS Windows Welsh Language Version Available
    By hk_mp5kpdw in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 12-03-2004, 04:59 PM
  5. Windows upgrade question
    By 7smurfs in forum Tech Board
    Replies: 11
    Last Post: 10-20-2004, 01:51 PM