dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]System.IO.Directory.GetDirectoryRoot()


From: Charles Shuller
Subject: [DotGNU]System.IO.Directory.GetDirectoryRoot()
Date: Tue, 29 Oct 2002 23:53:15 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020923

The standard defines this function very clearly for windows with the following example:

Input                   Output
\                       C:
C:\stuff\morestuff      C:
\\somewhere\there\foo   \\somewhere\there

The latter for windows drive sharing stuff. The question is, on unix systems this function should alwayse return '/' correct?? Or should it return the physical device, i.e. /dev/hda0 like the windows functions do?


--
Charles Shuller
Jabber ID: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]