Figure 4 Sample input and corresponding output

c:\testfile.dat
c:\src\testfile.dat
c:\src\dfa\testfi]e.dat
a:\anydrive\somefile\fname.xt
b:\m
b:\src\m
a:\sum.m
c:\end\of\good\tests


File: testfile
    Drive: C
    Path: \
    Extension: dat
File: testfile
    Drive: C
    Path: \src\
    Extension: dat
File: testfile
    Drive: C
    Path: \src\dfa\
    Extension: dat
File: fname
    Drive: A
    Path: \anydrive\somefile\
    Extension: xt
File: m
    Drive: B
    Path: \
    Extension:
File: m
    Drive: B
    Path: \src\
    Extension:
File: sum
    Drive: A
    Path: \
    Extension: m
File: tests
    Drive: C
    Path: \end\of\good\
    Extension: