Too bad there is no straight-forward way in .net CF for an application to determine its folder path from where it was launched. But following code works just fine.