Partilhar via


Launch command-line utility from DUA without showing a CMD.EXE window

A poster on the Windows Embedded Standard 2009 forum has a great tip for users of DUA. He gives details of how to write a DUA script that can launch a script, executable or other command line utility using the DUA EXECUTEPROCESS command, but without having to first launch a command prompt window.

His basic conclusion is to add the following parameter to the DUA script that is using the EXECUTPROCESS command:

StartupInfo=1

His testing was done on a Minlogon image which always runs in the context of Local System, rather than in a user context. He surmises that there is also some connection to the value specified in the Desktop_Name parameter that he uses in his example.

See the full post here.

- Lynda

Technorati Tags: XPe,Standard 2009