I am trying to set up MongoDB on Windows, and the online docs seem far from accurate.
Under \"Configure a Windows Service\" part, step 1 mentions to create a config file
Bit late but I had the exact same issue today. If you use forward slashes for your paths within the config file it works fine.
systemLog: destination: file logAppend: true path: "e:/mongo_data/3.6/mongo.log" storage: dbPath: "e:/mongo_data/3.6/db" engine: "wiredTiger"