Mail Archives: djgpp/1997/08/02/17:18:12
From: | "Joshua Eckstein" <kwe1 AT flash DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | File Paths and Directories
|
Date: | Tue, 29 Jul 1997 16:03:00 -0500
|
Organization: | Flashnet Communications, http://www.flash.net
|
Lines: | 17
|
Message-ID: | <5rllpr$5vc$1@excalibur.flash.net>
|
NNTP-Posting-Host: | dasc1-56.flash.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I'm trying to find out how to specify a filename as not to be
drive/directory specific. In other words, if someone puts the executable in
[xfolder] and I have established a branch directory for data, it will look
in [xfolder]\data. Like so:
LoadPic ("\data\example.pic", ...);
So I won't have to be installation directory/drive specific, like
LoadPic ("c:\myprogs\theprog\data\example.pic", ...);
I've tried unix slashes and double slashes and double unix slashes and
normal slashes. ???
Please respond by e-mail, kwe1 AT flash DOT net .
- Raw text -