This is the batch file.@ echo off
rem 9:48 PM 3/19/98
rem Detroit KIXTART login_script
net use i: \\DETSNS1\apps
net use j: \\DETSNS1\data
rem net use k: \\DETSNS1\commons
net use p: \\DETSNS1\ops
rem net use r: \\DETSNS1\accountg
net time \\DETSNS1 /SET /YES
@ echo on
logon script
$parts = "ts15a1 ts15a32 ts15a38 ts15a39 ts15a40 ts15a41 ts15a42 ts15a45 ts15a66 ts15a76 ts15a78"
$service = "ts15a18 ts15a35 ts15a45 ts15a64 ts15a70 ts15a80 ts15a81"
$tds = "ts15a35"
$basd = "ts15a32 ts15a49 ts15a50 ts15a55 ts15a61 ts15a63 ts15a67 ts15a72 ts15a73 ts15a79 ts15a85 ts15a89"
$acctg = "ts15a24 ts15a29 ts15a48 ts15a53 ts15a60"
$userid = "@userid"
IF INSTR($parts,@USERID)
Use q: "\\detsns1\parts"
ENDIF
IF INSTR($service,@USERID)
Use s: "\\wsdetbkups\service"
ENDIF
IF INSTR($tds,@USERID)
Use t: "\\wsts15a64\tds99"
ENDIF
IF INSTR($basd,@USERID)
Use s: "\\wsdetbkups\basd"
IF INSTR($acctg,@USERID)
use y: "\\wsdetbkups\acctg"
ENDIF
use x: "\\wsdetbkups\$userid"
;.... end with $ statements with "
;.... replace labuv, userid1, etc with real login id's
;.... replace laxfns5 with detroit server name
;.... have a nice day
EXIT
I am new at this and I was not the one who created this script all I am trying to do is add mapping to it so that everyone here has a backup drive on there computer. There backup drive will get backed up on a tape every night. the maped drive is on a NT Workstation and everyone else has Win95 with a few Win98 SE. There are about 50 total computers on the network.