Worksoft Community

Finding system type

Wiki Table of Contents

Page Details

First published by:
Yujira
on 14 Apr 2011
Last revision by:
Yujira
on 14 Apr 2011
1 person found this article useful.

100% of people found this useful
Finding system type

Filed under: [Edit Tags]

A combination of DOS command (systeminfo.exe) and the Certify system actions can be used to find out the system type on a machine. Our recommendation would be to create a utility process for your business analyst called GetSystemType

1. Create two text variables called SysInfo and SystemType
2. Create a process called GetSystemType with the following steps
- System | Operating system | Input DOS command : Systeminfo.exe > C:\Users\Public\machineinfo.txt
- System | Execution | wait : 10 seconds
3. System | File | Read File : Read C:\Users\Public\machineinfo.txt (Into the Text variable SysInfo)
4. Find Substring
Starts with: *x
Ends with: -based PC*
From: Text variable Sysinfo
In Variable: Text variable SystemType
5. Text compare: SystemType IsEqualTo 64 (On true exit process)
6. Set Variable SystemType: 32

 

Note: The steps above are only applicable to Worksoft Certify 8.5.0 and up on Windows 7.

Recent Comments

Leave the first comment for this page.
©2009-2011 Worksoft, Inc.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems