playsmf.exe is a command line utility that
plays Midi files using only resources installed
with Windows. No need of additional dlls or
soundfonts to play a midi file.
You could download playsmf.exe and many Midi
utilities from this webpage:http://public.sreal.com/~div/midi-utilities/
Using the Temp folder is just a convenience,
not a requisite.