echo off
rem *********************************************************
rem *
rem *    To set the STUID environment variable and start
rem *    the go.bat file for a given course
rem *
rem *    The arguments are as follows:
rem *           1.     drive for course exe/bat
rem *           2.     path for course exe/bat
rem *           3.     name of course exe/bat (usually go.bat)
rem *           4.     student number value for env variable
rem *           5.     path value for env variable
rem *
rem *********************************************************

rem     Change to course drive
%1

rem     Change to course directory
cd %2

if %4==nul goto label
set STUID=%4 %5

:label

%3


