run.cmd (3 lines of code) (raw):

@echo off md %LOCALAPPDATA%\CosmosDBEmulatorCert 2>nul docker run -v %LOCALAPPDATA%\CosmosDBEmulatorCert:c:\CosmosDBEmulator\CosmosDBEmulatorCert -P -t -i cosmosdb_emulator