| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 19 Nov 2000 09:00:52 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | sam <samirwy AT connection DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: get current drive/diretory functions , any? |
| In-Reply-To: | <3A175E0F.AB7DD8EB@connection.com> |
| Message-ID: | <Pine.SUN.3.91.1001119085821.11507H-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 18 Nov 2000, sam wrote: > Are there such beasts? I still haven't found them. You want getcwd or getwd. They both return the current directory's full path, where the first character is the drive letter of the current drive. A separate function _dos_getdrive returns the drive only. [I just searched the library reference for "current dir" and "drive", and found these functions right away. Why couldn't you?]
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |