Site hosted by Angelfire.com: Build your free website today!

Sequence of steps for automating the user connection at Heathmont College

When the user connects to one of the network fileservers, the system login script is run and then some users have a user login script which is then run. The system login script or user login script then runs a batch file called MENUB.BAT, which is given below, via a command like EXIT "MENUB STUDENT". The EXIT part is to tell Novell to stop running the Novell menu scripts for this user, and now run the MENUB batch file. This batch file also passes on the menu script filename STUDENT.MNU to another program (DOUGMENU) so that the final menu can be put on the screen. The user then chooses from this final menu. The job of this batch file is to:

  • run the McAfee virus shielding and checking program Vshield, which checks for Virus's in memory and then stays resident and checks all files that load from drive A for virus's
  • run the remote printer program on selected computers that have printers attached to them. These printers are used by network users as network printers.
  • finally it transfers control to a menu program called DougMenu. This is a customisable menu that is very, very good and best of all, is FREE. A copy of DougMenu is is the \public\batch subdirectory of the fileserver along with a text file which shows how it can be used.

    MENUB.BAT

    @echo off
    REM Run the Vshield Program
    f:\protect\scan\vshield /bootaccess /noremove /only a:
    
    REM Set up the Remote printer servers to allow network printing to computers with attached printers
    REM For Left hand printer in A5
    if [%NETNUMB%] == [000021307599] RPRINTER -R
    if [%NETNUMB%] == [000021307599] RPRINTER STAFF_STUDENT 0
    REM For Right hand printer in A5
    if [%NETNUMB%] == [000021307324] RPRINTER -R
    if [%NETNUMB%] == [000021307324] RPRINTER STAFF_STUDENT 1
    REM For the HP laser in the main staffroom for staff use
    if [%NETNUMB%] == [00C86300C863] RPRINTER -R
    if [%NETNUMB%] == [00C86300C863] RPRINTER STAFF_STUDENT 4
    REM For Left hand printer in A6
    if [%NETNUMB%] == [00000100ADD5] RPRINTER -R
    if [%NETNUMB%] == [00000100ADD5] RPRINTER STAFF_STUDENT 2
    REM For Right hand printer in A6
    if [%NETNUMB%] == [000001045978] RPRINTER -R
    if [%NETNUMB%] == [000001045978] RPRINTER STAFF_STUDENT 3
    REM Library TP computer
    IF [%NETNUMB%] == [0000B460D03D] RPRINTER -r
    IF [%NETNUMB%] == [0000B460D03D] RPRINTER STAFF_STUDENT 6
    
    REM Run DOUGMENU with the given menu script name
    DMENU.BAT %1
    

     

  •  © 1997-2001 Ronaldsoft Network. All rights reserved. Designed by: Ronaldsoft