This cheat will execute a list of commands in the specified file. It looks for the file in the root game directory (the main folder of the game). You do not need to specify the file ending (e.g. '.txt'), just the file name.
runconsolebatch [file name]
|File Name||The name of the file, without the file type ending (e.g. '.txt'), that you wish to execute a list of commands from. For a file called 'example.txt', you'd just enter 'example'.|
This command would run the list of commands in the file called 'examplefile.txt', provided it is placed in the root game directory (the folder than Fallout4.exe is in).