[Mono-winforms-list] Directory slashes
Armand du Plessis
armand at dotnet.org.za
Sun Oct 30 06:55:01 EST 2005
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: mono-winforms-list-bounces at lists.ximian.com
[mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Pavel
Bansky
Sent: 30 October 2005 01:12 PM
To: mono-winforms-list at lists.ximian.com
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 - Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list