#25851 - 2002-07-25 02:48 PM
Mapping drives with Windows 2000
|
Cazzjh
Fresh Scripter
Registered: 2002-06-04
Posts: 32
Loc: Glasgow, Scotland
|
Hi
Trying to use kix with windows 2000 professional pc. Trying to map directly to the user drive using the following code :
code:
IF (@INWIN=1 And @DOS="5.0") SHELL "NET USE U: \\gfclnt03\users" CD U:\Users\%username% ENDIF
The only problem is that it wont go straight to the users named folder - it goe's one level above to the users drive.
Any idea's??? [ 25 July 2002, 14:49: Message edited by: Cazzjh ]
_________________________
Cazzjh
|
|
Top
|
|
|
|
#25853 - 2002-07-25 02:55 PM
Re: Mapping drives with Windows 2000
|
Cazzjh
Fresh Scripter
Registered: 2002-06-04
Posts: 32
Loc: Glasgow, Scotland
|
Hi
I have to go one level deeper than this to the users named directory i.e. \\gfclnt03\users\cazzjh. This is so the users only see their data and not everyones.
_________________________
Cazzjh
|
|
Top
|
|
|
|
#25861 - 2002-07-25 03:18 PM
Re: Mapping drives with Windows 2000
|
Cazzjh
Fresh Scripter
Registered: 2002-06-04
Posts: 32
Loc: Glasgow, Scotland
|
Ghost - thanks muchly for your help
I got it sorted out by using
code:
USE U: "\\gfclnt03\Users\@UserID
_________________________
Cazzjh
|
|
Top
|
|
|
|
#25862 - 2002-07-25 04:00 PM
Re: Mapping drives with Windows 2000
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
see my mapdrive()function in the UDF forum
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 641 anonymous users online.
|
|
|