|
|
|||||||
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 |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
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' |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
Yeah. Sorry I forgot the switch use s: '\\smbserver\ais' /del use s: '\\bakserver\ais' Regards, Norman |
||||||||
|
|
|||||||
Note quite Code: use s: /delete /persistent |