forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Quick and simple Windows Version Checking

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code
View previous topic :: View next topic  
Author Message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Jun 14, 2004 12:45 am    Post subject: Quick and simple Windows Version Checking Reply with quote

This is not an extensive way to check, but it's quick, effective and a
reliable to way to get a quick version check for general needs. If you
need more extensive information, then check out that Winver.dsu
which is also located on this forum here:
http://forum.vdsworld.com/viewtopic.php?t=2603

While I do believe this should work on all the noted systems, I have not
tested it on the noted systems except for Windows ME. If it fails to work
on your system, please let me know. Thanks Smile

Code:
  IF @sysinfo(isnt)
    IF @not(@greater(@sysinfo(winver),4.99))
      %A = Windows NT4
    ELSIF @not(@greater(@sysinfo(winver),5.09))
      %A = Windows 2000
    ELSIF @not(@greater(@sysinfo(winver),5.19))
      %A = Windows XP
    ELSIF @not(@greater(@sysinfo(winver),5.29))
      %A = Windows 2003
    ELSIF @greater(@sysinfo(winver),5.29)
      %A = Version exceeds known versions for this checking routine
    ELSE
      %A = Are you running some alien version of Windows?
    END
  ELSE
    IF @not(@greater(@sysinfo(winver),4.09))
      %A = Windows 95
    ELSIF @not(@greater(@sysinfo(winver),4.89))
      %A = Windows 98
    ELSIF @not(@greater(@sysinfo(winver),5.00))
      %A = Windows ME
    ELSE
      %A = Are you running some alien version of Windows?
    END
  END
  INFO %A

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jun 14, 2004 8:49 am    Post subject: Reply with quote

there is an alien version of windows??!?!?

Wink Wink Wink

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Jun 14, 2004 10:49 am    Post subject: Reply with quote

Yup. It's called "Windows ET" Razz

Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon Jun 14, 2004 3:04 pm    Post subject: Reply with quote

Here's an image of the software box Wink


Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Jun 14, 2004 6:11 pm    Post subject: Reply with quote

Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing

That's just too much!!! Windows ET!!!!! Laughing Laughing Laughing

Put that on the Box with the Alien Head!

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jun 14, 2004 6:52 pm    Post subject: Reply with quote

LOL!! That's a good one. Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group