Date: Mon, 5 Jan 1998 10:45:36 +0200 (IST) From: Eli Zaretskii To: Ivo Stoykov cc: djgpp AT delorie DOT com Subject: Re: Info help, please! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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?