Befehlszeile erstellen
Kommentar: Starter für Executable                          
Benutzernamen, OS und Bitbreite auslesen                                      
Aus den Infos wird dann eine Befehlszeile
option expliciton error resume nextDim wshell, OS, Architecture Dim strComputer , objWMIService, colItems, objItemDim ClouString, ProgFile, temp,xyzset wshell = createobject("wscript.shell")strComputer = "."Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48)progfile = wShell.ExpandEnvironmentStrings("%ProgramFiles%")temp = wShell.ExpandEnvironmentStrings("%Temp%")For Each objItem in colItems OS = objItem.caption   If left(OS,19) = "Microsoft Windows 7" then Architecture = objItem.OSArchitecture end if nextIf left(OS,19) = "Microsoft Windows 7" then  If Architecture="32-Bit" then ClouString = """" & ProgFile & "\ClouCS59A1\clou4win.exe""" & " /C /w- /i clou4win59a1.ini /B " & temp else  ProgFile = wShell.ExpandEnvironmentStrings("%ProgramFiles(x86)%") ClouString = """" & ProgFile & "\ClouCS59A1\clou4win.exe""" & " /C /w- /i clou4win59a1.ini /B " & temp end ifelseClouString = """" & ProgFile & "\ClouCS59A1\clou4win.exe""" & " /C /w- /i clou4win59a1.ini /B " & tempend ifwshell.run Cloustring,1