Page 1 of 1 1
Topic Options
#109155 - 2003-11-27 09:16 PM Refresh Mapping
Norman Zhang Offline
Fresh Scripter

Registered: 2003-02-07
Posts: 28
Loc: BC, Canada
Hi,

I just copied some files from an old server to a new server. I changed the mapping to the new server. However, for some users they are still mapped to the old server. Doesn't KiXtart refreshes all mapping during logon?

Regards,
Norman

Top
#109156 - 2003-11-27 09:19 PM Re: Refresh Mapping
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
KiXtart does what you program the script to do. If the users have persistently mapped drives you will have to delete the old mapping using the "/persistent" switch before remapping the drive. Use @error and @serror to check the status of your USE commands.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#109157 - 2003-11-27 11:10 PM Re: Refresh Mapping
Norman Zhang Offline
Fresh Scripter

Registered: 2003-02-07
Posts: 28
Loc: BC, Canada
I never used the /persistent switches in my mapping though.

Regards,
Norman

if ingroup('MYDOMAIN\Proj ID Team')
use g: '\\idserver\graphics'
use i: '\\idserver\id'
endif

if ingroup('MYDOMAIN\Proj Mech Team')
use m: '\\idserver\mech'
endif

use h: '\\smbserver\'+@userid
use j: '\\smbserver\docup'
use k: '\\smbserver\docs'
use l: '\\smbserver\libs'
use p: '\\smbserver\proj'
use q: '\\prnserver\pdf'
use s: '\\bakserver\ais'
use t: '\\smbserver\transfer'
settime '\\smbserver'

Top
#109158 - 2003-11-27 11:26 PM Re: Refresh Mapping
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
for some users someone may have used persistent.
that is, someone at some point has done a manual map perhaps.
that defaults to persistent.
that is, before mapping the drive, you must delete the old map.
and if it is there, it is persistent so you need to del it with persistent switch.
_________________________
!

download KiXnet

Top
#109159 - 2003-11-28 10:23 PM Re: Refresh Mapping
Norman Zhang Offline
Fresh Scripter

Registered: 2003-02-07
Posts: 28
Loc: BC, Canada
Yeah. Sorry I forgot the switch

use s: '\\smbserver\ais' /del
use s: '\\bakserver\ais'

Regards,
Norman

Top
#109160 - 2003-11-28 10:26 PM Re: Refresh Mapping
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Note quite
Code:
use s: /delete /persistent
use s: '\\bakserver\ais'

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 259 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.054 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org