Mail Archives: djgpp/1998/01/05/03:50:05
On Sun, 4 Jan 1998, Ivo Stoykov wrote:
> Is there a function returning the (DOS) root path? I found few
> giving information about current dir & drive but not for current
> root.
I'm not sure I understand what are you asking about. Each drive has
its own root, whose name is "X:/" or "X:\", where x is the drive
letter. (In C programs, be sure to write "X:\" as "X:\\", since `\'
is the escape character in C strings.)
Is this what you are looking for?
- Raw text -