From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with paths Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3966133b$0$10720 AT SSP1NO25 DOT highway DOT telekom DOT at> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 39 X-Trace: /b/VKWnYxRJwtE6zUJyvLq+tWwueVWchi8yOEhoXDpYNXuBsKKMQJVQWiYV9jNIp3zLW/VpfePIL!3UvEx9dq4HpObEwKiruGLSBVvPvdAb09b3hrBYOJlwQWi+i/gi5go+PC4FrMPpMq5BJ2RWZdCkqz!XfGn X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 08 Jul 2000 06:45:03 GMT Distribution: world Date: Sat, 08 Jul 2000 06:45:03 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 7 Jul 2000 19:27:01 +0200, "Florian X" wrote: >I am developing the mp3 player for SEAL (www.seal.de.vu) /DOS and it should >support >mp3 mailing list. My problem/question is that: > >The mailing list has f.e. this path: f:\mp3\xxx\ >but i want to add a mp3 file which has this path: f:\mp3\yyy\ > >So I need this path: f:\mp3\xxx\..\yyy\ (I think, this goes with DJGPP, >RHIDE seems to support it). >Is there any funktion to get it? > >Another problem: > >The mailing list has f.e. this path: f:\mp3\xxx\ >but i want to add a mp3 file which has this path: e:\mp3\yyy\ (now drive >e) > >But if I solve the problem above, I would get > >f:\mp3\xxx\e:\mp3\yyy > >What shoul I do? Allegro, apart from being a great graphics and sound library, is also a nice repository of DJGPP code snippets. Borrow this function that does exactly what you want: C:\>info allegro file fix_filename_path -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/