As an alternative to exec'ing an external program, I have some code in my DJPlay project, that does all you need. http://djplay.sourceforge.net You will want map.cpp and mp3map.cpp source files with their requisite headers. Melanie