Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[COLOR=#804040][b]set[/b][/color] wshShell [COLOR=#804040][b]=[/b][/color] WScript[COLOR=#804040][b].[/b][/color][COLOR=#008080]CreateObject[/color][COLOR=#804040][b]([/b][/color] [COLOR=#ff00ff]"WScript.Shell"[/color] [COLOR=#804040][b])[/b][/color]
[COLOR=#0000ff]' retrieve system variables[/color]
computername [COLOR=#804040][b]=[/b][/color] wshShell[COLOR=#804040][b].[/b][/color]ExpandEnvironmentStrings[COLOR=#804040][b]([/b][/color] [COLOR=#ff00ff]"%COMPUTERNAME%"[/color] [COLOR=#804040][b])[/b][/color]
os [COLOR=#804040][b]=[/b][/color] wshShell[COLOR=#804040][b].[/b][/color]ExpandEnvironmentStrings[COLOR=#804040][b]([/b][/color][COLOR=#ff00ff]"%OS%"[/color][COLOR=#804040][b])[/b][/color]
username [COLOR=#804040][b]=[/b][/color] wshShell[COLOR=#804040][b].[/b][/color]ExpandEnvironmentStrings[COLOR=#804040][b]([/b][/color][COLOR=#ff00ff]"%USERNAME%"[/color][COLOR=#804040][b])[/b][/color]
[COLOR=#0000ff]' execute command and get the output[/color]
[COLOR=#804040][b]set[/b][/color] get_os_version [COLOR=#804040][b]=[/b][/color] wshShell[COLOR=#804040][b].[/b][/color]exec[COLOR=#804040][b]([/b][/color][COLOR=#ff00ff]"%comspec% /c ver"[/color][COLOR=#804040][b])[/b][/color]
os_version [COLOR=#804040][b]=[/b][/color] get_os_version[COLOR=#804040][b].[/b][/color]stdout[COLOR=#804040][b].[/b][/color][COLOR=#a020f0]readall[/color]
os_version [COLOR=#804040][b]=[/b][/color] [COLOR=#804040][b]mid[/b][/color][COLOR=#804040][b]([/b][/color]os_version[COLOR=#804040][b],[/b][/color] [COLOR=#ff00ff]3[/color][COLOR=#804040][b],[/b][/color] [COLOR=#804040][b]len[/b][/color][COLOR=#804040][b]([/b][/color]os_version[COLOR=#804040][b])-[/b][/color][COLOR=#ff00ff]3[/color][COLOR=#804040][b])[/b][/color]
wscript[COLOR=#804040][b].[/b][/color]echo [COLOR=#ff00ff]"Computer Name : "[/color] [COLOR=#804040][b]&[/b][/color] computername
wscript[COLOR=#804040][b].[/b][/color]echo [COLOR=#ff00ff]"Operating System: "[/color] [COLOR=#804040][b]&[/b][/color] os
wscript[COLOR=#804040][b].[/b][/color]echo [COLOR=#ff00ff]"OS Version : "[/color] [COLOR=#804040][b]&[/b][/color] os_version
wscript[COLOR=#804040][b].[/b][/color]echo [COLOR=#ff00ff]"User Name : "[/color] [COLOR=#804040][b]&[/b][/color] username
C:\Work>cscript /NoLogo sysvars.vbs
Computer Name : MIKROM-PC
Operating System: Windows_NT
OS Version : Microsoft Windows [Version 6.0.6002]
User Name : Mikrom