Special Thanks to The FrankRatchye STUDIO for Creative Inquiry at Carnegie Mellon University

  1. Right-click inside a folder or on your desktop, create a new text file
  2. Rename that text file to any name you’d like, but replace the “.txt” with .”bat
  3. Open it
  4. Use the following format:
    1. "LocationOfUnrealEngineExe" "LocationOfUproject" -COMMAND_GOES_HERE
    2. “C:\UnrealEngine\UE_4.22\Engine\Binaries\Win64\UE4Editor.exe” “G:\MyGame\MyGame.uproject” -log
  5. Double click the bat file and your project should run with the command.

I learned this from this wiki page by Rama.

SIDE NOTE: Closing the log will shut down the project.