How to specify parameters for the executable file in a StartupTask
问题 When desktop applications set to run on startup, they usually start minimized to system tray. The common approach to implement this behavior is an special parameter for the executable when adding a shortcut to the Startup folder or registry: MyApp.exe /startminimized I need the same thing in a converted desktop app. Thanks to the StartupTask, I'm able to run the executable of the app on startup: <desktop:Extension Category="windows.startupTask" Executable="MyApp.exe" EntryPoint="Windows