Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Path Retrieval Directory.GetDirectoryRoot()

Jeffrey Jangli edited this page Feb 1, 2015 · 1 revision

Comparison AlphaFS vs System.IO

#001	Input Path: [.]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#002	Input Path: [.zip]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#003	Input Path: [C:\\test.txt]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#004	Input Path: [C:\/test.txt]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#005	Input Path: [\]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#006	Input Path: [\Program Files\Microsoft Office]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#007	Input Path: [\\?\GLOBALROOT\device\harddisk0\partition1\]
        Caught [System.IO] System.ArgumentException: [Paths that begin with \\?\GlobalRoot are internal to the kernel and should not be opened by managed applications.]
        System.IO : [null]
        AlphaFS   : [null]

#008	Input Path: [\\?\Volume{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\Program Files\notepad.exe]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [null]

#009	Input Path: [Program Files\Microsoft Office]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#010	Input Path: [C]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#011	Input Path: [C:]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#012	Input Path: [C:\]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#013	Input Path: [C:\a]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#014	Input Path: [C:\a\]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#015	Input Path: [C:\a\b]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#016	Input Path: [C:\a\b\]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#017	Input Path: [C:\a\b\c]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#018	Input Path: [C:\a\b\c\]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#019	Input Path: [C:\a\b\c\f]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#020	Input Path: [C:\a\b\c\f.]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#021	Input Path: [C:\a\b\c\f.t]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#022	Input Path: [C:\a\b\c\f.tx]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#023	Input Path: [C:\a\b\c\f.txt]
        System.IO : [C:\]
        AlphaFS   : [C:\]

#024	Input Path: [\\?\Program Files\Microsoft Office]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [null]

#025	Input Path: [\\?\C]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [null]

#026	Input Path: [\\?\C:]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:]

#027	Input Path: [\\?\C:\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#028	Input Path: [\\?\C:\a]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#029	Input Path: [\\?\C:\a\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#030	Input Path: [\\?\C:\a\b]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#031	Input Path: [\\?\C:\a\b\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#032	Input Path: [\\?\C:\a\b\c]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#033	Input Path: [\\?\C:\a\b\c\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#034	Input Path: [\\?\C:\a\b\c\f]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#035	Input Path: [\\?\C:\a\b\c\f.]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#036	Input Path: [\\?\C:\a\b\c\f.t]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#037	Input Path: [\\?\C:\a\b\c\f.tx]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#038	Input Path: [\\?\C:\a\b\c\f.txt]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [C:\]

#039	Input Path: [\\SERVER001\Share]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#040	Input Path: [\\SERVER001\Share\]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#041	Input Path: [\\SERVER001\Share\d]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#042	Input Path: [\\SERVER001\Share\d1]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#043	Input Path: [\\SERVER001\Share\d1\]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#044	Input Path: [\\SERVER001\Share\d1\d]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#045	Input Path: [\\SERVER001\Share\d1\d2]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#046	Input Path: [\\SERVER001\Share\d1\d2\]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#047	Input Path: [\\SERVER001\Share\d1\d2\f]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#048	Input Path: [\\SERVER001\Share\d1\d2\fi]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#049	Input Path: [\\SERVER001\Share\d1\d2\fil]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#050	Input Path: [\\SERVER001\Share\d1\d2\file]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#051	Input Path: [\\SERVER001\Share\d1\d2\file.]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#052	Input Path: [\\SERVER001\Share\d1\d2\file.e]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#053	Input Path: [\\SERVER001\Share\d1\d2\file.ex]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#054	Input Path: [\\SERVER001\Share\d1\d2\file.ext]
        System.IO : [\\SERVER001\Share]
        AlphaFS   : [\\SERVER001\Share]

#055	Input Path: [\\?\UNC\SERVER001\Share]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#056	Input Path: [\\?\UNC\SERVER001\Share\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#057	Input Path: [\\?\UNC\SERVER001\Share\d]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#058	Input Path: [\\?\UNC\SERVER001\Share\d1]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#059	Input Path: [\\?\UNC\SERVER001\Share\d1\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#060	Input Path: [\\?\UNC\SERVER001\Share\d1\d]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#061	Input Path: [\\?\UNC\SERVER001\Share\d1\d2]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#062	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#063	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\f]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#064	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\fi]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#065	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\fil]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#066	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\file]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#067	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\file.]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#068	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\file.e]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#069	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\file.ex]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

#070	Input Path: [\\?\UNC\SERVER001\Share\d1\d2\file.ext]
        Caught [System.IO] System.ArgumentException: [Illegal characters in path.]
        System.IO : [null]
        AlphaFS   : [\\SERVER001\Share]

        *Duration: [19] ms. (00:00:00.0197729)