www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/05/03:50:05

Date: Mon, 5 Jan 1998 10:45:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ivo Stoykov <istoykov AT plovdiv DOT techno-link DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Info help, please!
In-Reply-To: <B0000111133@plovdiv.techno-link.com>
Message-ID: <Pine.SUN.3.91.980105104520.14443F-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019