Hmm...
thanks for your reply. When I use Your function I get something like this though:
C:/Dokumente und Einstellungen/xy/Eigene Dateien/Jabaco/App Path Test/AppPathTest.ja
Mac:
Users/xy/Desktop/AppPathTest.ja
What I was looking for was the path only with the trailing backslash:
C:/Dokumente und Einstellungen/xy/Eigene Dateien/Jabaco/App Path Test/
Mac:
/Users/xy/Desktop/
On the Mac all you need to do really is to replace the '%' and strip the file name!!
So I needed something to figure out whether I am on a Mac or a PC. Thats why the 'file:' and not the '.getPath()'
Dani