Two problems

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

User avatar
JRL
Automation Wizard
Posts: 3518
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Feb 17, 2010 3:20 am

Me_again, thanks for taking the time to test.
Me_again wrote:OS_VER is not as useful as that from the reg since there can be a number of what you or I would think are different OS's with the same OS_VER
True... but as I pointed out in the quoted portion of my post, koleviko wants to know if the OS is XP... or greater than XP. According to your test results all one needs is the one Separate> line to set up the test for that explicit condition.

Also, the Microsoft page I linked warns against using the operating system to determine whether or not a particular feature is available. I would think that would be an exponential warning if you start looking at particular builds of a particular operating system.

koleviko
Junior Coder
Posts: 45
Joined: Thu Nov 20, 2008 2:59 pm

Post by koleviko » Wed Feb 17, 2010 7:12 pm

JRL

Great !!! :P :P :P
Simple things are great !!! :idea:

Code: Select all


Separate>os_ver,.,val
If>val_2>5,,xp
MessageModal>Version is not XP
goto>finish
label>xp
MessageModal>Version is Win 2000, XP or Server 2003
label>finish

[/quote]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts