[Mono-list] Handling file paths for different operating systems

Timothy Parez tpsoftware@users.sourceforge.net
Sat, 07 Feb 2004 08:20:00 +0100


I'm wondering, if you have an application which uses a file path for one 
of its setttings,
for example in the .config file of the application there's an entry: 
<add key="PluginDirectory" value="")

Of course I could have an entry for each different OS, but that's not 
exactly nice design,
how can I write down a path in a universal way, or make it so that it 
works on all systems