[windows2000] Re: SUBST error

  • From: Angus Macdonald <Angus.Macdonald@xxxxxxxxxxxxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Thu, 26 May 2005 09:10:55 +0100

I don't wish to start an argument over this but in the interests of clarity
(and for the benefit of anyone using the list archive as a knowledgebase)
I'd just like to point out that I'm currently using subst on my NT4TSE farm
login scripts and it is definitely user-specific. We map a drive letter (H:)
to \\server\rootshare and use subst to map another drive letter (W:) to
H:\%username%

-----Original Message-----
From: David L.Spanne [mailto:werenomads@xxxxxxxxxx]
Sent: 25 May 2005 22:50
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: SUBST error


Platform means everything, and this is "windows2000".  For Win2k you are
right, for NT4 I'm right. The subst command is dfferent between OSs.  Yes,
under Win2k and TS, it is no longer machine specific.  Under NT4, it
persisted for all users. Under NT4, you could use subst on a UNC, but can't
under Win2k.

"NT4 doesn't let you map a drive letter to a share's subdirectory (Win2k
does), but here's a workaround: Use the SUBST command, which lets you use
Uniform Naming Convention (UNC) paths (Win2k doesn't allow this) and
environment variables in the command line. Add SUBST h:
\\logonserver\users\%username% to your log-on script. This tells NT to map
the H: drive to the directory under the user's share that matches the name
of the user logging on."

I used to use such a logon.cmd in NT4, but it has to have a subst h: /d
before it because it did persist between users.

David Spanne

Gallai'r e-bost yma gynnwys gwybodaeth gyfrinachol a/neu ddeunydd hawlfraint.  
Os ydych chi'n meddwl eich bod wedi derbyn yr e-bost yma drwy gamgymeriad rydym 
yn ymddiheuro am hyn; peidiwch os gwelwch yn dda â datgelu, anfon ymlaen, 
printio, copïo na dosbarthu gwybodaeth yn yr e-bost yma na gweithredu mewn 
unrhyw fodd drwy ddibynnu ar ei gynnwys: gwaherddir gwneud hynny'n gyfan gwbl a 
gallai fod yn anghyfreithlon. Rhowch wybod i'r anfonwr fod y neges yma wedi 
mynd ar goll cyn ei dileu.
 
Mae unrhyw safbwynt neu farn a gyflwynir yn eiddo i'r awdur ac nid ydynt o 
anghenraid yn cynrychioli safbwynt neu farn Ymddiriedolaeth GIG Gogledd 
Orllewin Cymru.

Gallai cynnwys yr e-bost yma gael ei ddatgelu i'r cyhoedd o dan Gôd Bod yn 
Agored y GIG neu Ddeddf Rhyddid Gwybodaeth 2000.  Nid oes modd gwarantu 
cyfrinachedd y neges ac unrhyw ateb. 

Bydd y neges yma ac unrhyw ffeiliau cysylltiedig wedi cael eu gwirio gan 
feddalwedd canfod firws cyn eu trosglwyddo.  Ond rhaid i'r sawl sy'n derbyn 
wirio rhag firws ei hun cyn agor unrhyw ymgysylltiad.  Nid yw'r Ymddiriedolaeth 
yn derbyn unrhyw gyfrifoldeb am unrhyw golled neu niwed a allai gael ei achosi 
gan firws meddalwedd.


This e-mail may contain confidential information and/or copyright material.  If 
you believe that you have received this e-mail in error please accept our 
apologies; please do not disclose, forward, print, copy or distribute 
information in this e-mail or take any action in reliance on its contents: to 
do so is strictly prohibited and may be unlawful.  Please inform the sender 
that this message has gone astray before deleting it.

Any views or opinions presented are to be understood as those of the author and 
do not necessarily represent those of the North West Wales NHS Trust.

The contents of this e-mail may be subject to public disclosure under the NHS 
Code of Openness or the Freedom of Information Act 2000.  The confidentiality 
of the message and any reply cannot be guaranteed.

This message and any attached files will have been checked with virus detection 
software before transmission.  However, recipients must carry out their own 
virus checks before opening any attachment.  The Trust accepts no liability for 
any loss or damage, which may be caused by software viruses.

********************************************************
This Weeks Sponsor: Straymonkey.com
Excellent web templates, fonts, and downloads
on this new site brought to you by The Kenzig Group
http://www.straymonkey.com
**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: