Resent becasue of attachment problems! see text below main body...

The enclosed file is a basic one to conect to a home drive and some other
network shares, hope you find it usefull. Also, if you dont want to get into
programming and want to do some fancy things, check out
http://www.scriptlogic.com/eng/home.asp Just check the boxes and it builds
the script for you!

@ECHO OFF
REM ------------------------------------------------------------------
REM
REM Login Script for London W2K Workstations
REM
REM
REM CHANGE : V1.0
REM  Initial version
REM  Date : 11/01/2001 ALO
REM
REM
REM     *** Do not change this script without contacting Networks ***
REM
REM
REM
REM ------------------------------------------------------------------

REM **************   Check for Terminal Server  **************

if exist %systemroot%\system32\chgusr.exe goto TermServ


REM **************   Configure home directory **************

 subst f: /d > nul
rem net use f: /d > nul
 net use f: \\ntfs-ldn4\home$\%username% /PERSISTENT:NO > NUL


REM ************** Connect to standard drives **************

 net use l: \\ntfs-ldn7\Usertest /PERSISTENT:NO > NUL
 net use m: \\ntfs-ldn5\Applications /PERSISTENT:NO > NUL
 net use n: \\ntfs-ldn6\Departments /PERSISTENT:NO > NUL
 net use s: \\ntfs-ldn7\Data /PERSISTENT:NO > NUL
 net use v: \\ntfs-ldn7\data$ /PERSISTENT:NO > NUL


REM ************** Launch the WinINSTALL process **************

:Winstall

 \\ntfs-ldn1\winstall6\Winstall\wnstla32.exe
\\ntfs-ldn1\winstall6\Winstall\userportion.lst


REM ************** Synchronise workstation time **************

 net time \\ntdc-ldn1 /set /yes


REM ************** Set environment variables **************

 setx USR_ID ~USERNAME~
 pathman /au M:\ORAWIN\BIN


REM *******************************************************************

Goto end_script

:TermServ

call %0\..\TermServ.cmd

:end_script




http://www.sunbelt-software.com/ntsysadmin_list_charter.htm

Reply via email to