Fix Invalid command line Startup error on Windows 11/10