I'am writing a logon script, going well so far, including some robocopy, to keep the users uptodate !
But now i'am stucked with deleting, og setting a network connection.
In my script, if the user is on a laptop, i want to connect som drives locally
eg. f: \\Server-Bla\Something with \\PC-no\C-drive\anything

how do i accomplish that ???

IF EXIST ("C:\Local_Site\*.*")
USE F: /DEL
USE F: "\\" + @WKSTA + "\C-Drive\Local_Site"
ENDIF
_________________________
Regards Michael Nothing Fancy just plain me !