Retail Point-of-Service Solutions (MOSC)

MOSC Banner

start_eng.bat

Hello all,

the below is the script calling start_eng.bat file from vbs script.

Const HIDDEN_WINDOW = 12 is an in-built function hides the start_eng.bat command prompt from opening. But recent windows 11 upgrade is not hiding this.

Please share workaround or user experiences on this please.

Thanks

___________________________________________________________________________________________________________________________________

Const HIDDEN_WINDOW = 12

Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\.\root\cimv2")
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
workingDirectory = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)

Set objConfig = objStartup.SpawnInstance_
objConfig.ShowWindow = HIDDEN_WINDOW
Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process")
errReturn = objProcess.Create(workingDirectory + "\start_eng.bat", NULL , objConfig, intProcessID)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center