🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4477

Re: How to find out if a drive-letter is 'subst' drive and if yes, what is the connected dir?

#4477
From: MR
Date: Mon, 30 Jan 2006 12:00
32 lines
1865 bytes
>There is probably an interrupt function to do that or else some
>in-memory structure you can examine but DOS is..well...old :)

Yes, probably that's what I'm looking for...

>
>There's usually some way of doing what you want but whether it's
>documented or supported by a given development platform is another
>matter.

Well, I didn't mean that my source would not contain some special
conditional-processor. Indeed I'm using 

  #if DOES_RUN_UNDER_PURE_DOS
  ...
  #else
  ...
  #endif

And, naturally, I try not all my projects to run under DOS ;-)
But this one, which supports programming a batch-file is useful in the
rare cases of running under DOS too.

~~~~~~~~~~

Again: if someone knows how to get the subst-assignment under DOS
(interrupt, etc.), please let me know.

Thank you,

Michael
Technical Details
Message-ID: <1hvrt1hn9e01535rms52jocmovja18d69t@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <7e5mt1tgs8g8aiccinc8otj9e30htumds7@4ax.com> <43ddd465$1@newsgroups.borland.com> <ulnrt1thg3ol5n3gq5kdm094fgrkicrsk6@4ax.com> <43ddef7a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1f1d5f65bf11a172
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: MR <>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to find out if a drive-letter is 'subst' drive and if yes, what is the connected dir?
Date: Mon, 30 Jan 2006 13:00:42 +0100
Message-ID: <1hvrt1hn9e01535rms52jocmovja18d69t@4ax.com>
References: <7e5mt1tgs8g8aiccinc8otj9e30htumds7@4ax.com> <43ddd465$1@newsgroups.borland.com> <ulnrt1thg3ol5n3gq5kdm094fgrkicrsk6@4ax.com> <43ddef7a@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.57.47.235
X-Trace: newsgroups.borland.com 1138622401 84.57.47.235 (30 Jan 2006 04:00:01 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail