(Doh! I had a mistake in the code…. Fixed it now. Was supposed to be !Directory.Exists)
The following code executes at the beginning of a Pocket PC application run. It makes sure that the settings folder exists for that application.
Things to ignore: Process race conditions, file system lock issues.