http://bugs.winehq.org/show_bug.cgi?id=16332
--- Comment #4 from Elias Norberg elno0959@student.su.se 2008-12-19 18:43:21 --- I just looked at you patch (just _after_ I sent mine in, of course), and I think your way of doing things look smarter (with the potential of catching other bugs).
However, I tried to simulate the behaviour in windows (by deleting a network path that could not be locked by windows), and the default is to fallback to "My Documents" if available.
Maybe a merge between our patches would do the trick?
My patch is here: http://article.gmane.org/gmane.comp.emulators.wine.patches/61566 (I forgot to add .txt, so its a bit of a bitch to open)