🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3010

Re: Assign Help.

#3010
From: Nicolaas D
Date: Tue, 15 Dec 1992 13:29
40 lines
2200 bytes
GEN3037@Husky1.StMarys.Ca (DARREN JOHNSON) writes:

>Can someone tell me how to assign one pathname to serve for another path.

>[...]
>I can only write to the directory c:\users\username and any subdirectories
>after that, and this program wants to write to c:\program, which the network
>won't let happen. So what I want is a way for when the program wants
>to write to the root directory will actually write to users\username
>(.ie make c:\program into c:\users\username.

There are three MS-DOS programs which let you cheat with drive letters and
path names: assign, subst and join.
assign is used to assign another drive letter to a drive, e.g. assign a=c
means that from now on every request for drive a: is redirected to c:.
subst d: c:\tmp assigns drive letter d: to the path c:\tmp. every read or
write to d:\ actually occurs on c:\tmp.
join a: c:\tmp means that from now on every read/write on c:\tmp occurs on a:.
This is called mounting in UNIX. c:\tmp needs to be empty before you 
execute the join.
The problem is that join only works on directories in the root directory, so
you can't join anything on c:\users\username. Another problem is that some 
of these utilities don't work on networks drives. See the DOS-manuals for
details. 

So I don't think it will work with standard software. Anyway, these utilities
are tricky since sometimes the directories in which they are cease to exist
when you use them, so you can't undo things. I wouldn't experiment with them 
in a network.

Maybe your network utilities can mount or link directories?

>Thanks for any help. 


-- 
  ---.    /)        |                       
   /  \  /    _  _  |   _   _  _                 Dion Nicolaas
  /   )\ | (_(_ (_) \_ ()\ ()\ \                dnicola@cs.vu.nl
_/___/  \|  -------------------'
Technical Details
Message-ID: <BzAytp.Axz@cs.vu.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!dnicola
References: <1992Dec14.023258.22874@nstn.ns.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!dnicola
From: dnicola@cs.vu.nl (Nicolaas D)
Subject: Re: Assign Help.
Message-ID: <BzAytp.Axz@cs.vu.nl>
Sender: news@cs.vu.nl
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
References: <1992Dec14.023258.22874@nstn.ns.ca>
Date: Tue, 15 Dec 1992 13:29:49 GMT
Lines: 40