delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/06/19/15:00:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <40D47AE8.B51DFE14@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DDJGPP+ RHIDE: 3 question
References: <uFdhc.137126$Kc3 DOT 4560629 AT twister2 DOT libero DOT it> <ufzax98ht DOT fsf AT elta DOT co DOT il> <pWUAc.3233$NA1 DOT 332565 AT news02 DOT tsnz DOT net> <faVAc.3237$NA1 DOT 332825 AT news02 DOT tsnz DOT net>
Lines: 40
Date: Sat, 19 Jun 2004 18:56:11 GMT
NNTP-Posting-Host: 12.76.145.3
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1087671371 12.76.145.3 (Sat, 19 Jun 2004 18:56:11 GMT)
NNTP-Posting-Date: Sat, 19 Jun 2004 18:56:11 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Paul Wilkins wrote:
> 
... snip ...
> 
> I have a solution. It's to use subst to create a virtual drive
> 
> If for example I have a directory called
>      c:\documents and settings\paul\my documents\programming
> 
> I can place the following line in c:\autoexec.bat
>      subst p: "c:\documents and settings\paul\my documents\programming"

That doesn't work, at least on W98, because when autoexec runs
only DOS is functioning, not Windoze, and there is no long file
name support.  You have to use the short names in the autoexec,
and then everything works:

   subst p: c:\docume~1\paul\mydocu~1\progra~1

(and the terminal digits may be different on your system).

If you have followed the instructions in the FAQ for truncated
names WHEN THE DIRECTORIES WERE CREATED you may have the short
names simply truncated to 8 chars, instead of the final ~1.

Avoid spaces in your names, especially in directories, and try to
avoid names over 8 chars for clarity.  You can always nest
directories to get whatever effect you want.  Instead of:

    joes funny gubris\
use
    joes\funny\gubris\

-- 
fix (vb.): 1. to paper over, obscure, hide from public view; 2.
to work around, in a way that produces unintended consequences
that are worse than the original problem.  Usage: "Windows ME
fixes many of the shortcomings of Windows 98 SE". - Hutchison


- Raw text -


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