[temp_dir] has to be an actual directory path, for example
omnidbutil -writedb -cdb d:\temp\purge -mmdb d:\temp\purge
The destination folder, in this example d:\temp\purge must exist before you run the command
You may, of course, use any destination path that is convenient for you