You can use the System.IO.Path.DirectorySeparatorChar to get a platform specific directory seperator character. (And Path.AltDirectorySeparatorChar to get the alternative. Ie. / on windows)
Hth, Armand -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavel Bansky Sent: 30 October 2005 01:12 PM To: [email protected] Subject: [Mono-winforms-list] Directory slashes Hi All, is there some constat for directory path slashes? I mean windows using dir\subdir\file but unix use dir/dir/file . I realize that one can use unix paths with / on windows. Anyway is there some cleaner way than relying on windows? thanks Pavel -- __________________________________________________________ Pavel Bánský levap at bansky.net I write code... __________________________________________________________ _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
