How to export mesh object to FBX from command line?
The file you want to open needs to be towards the beginning of the command:

blender.exe D:\Program Files\monkey.blend --background --python D:\Program Files\fbx-export.py