Following is my login script. The DOS SET command is giving the script error shown in Pink. Can anyone help resolve the script error? Thanks in advance.

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
MAP DISPLAY ON
WRITE "" (All WRITE statements display the information you would expect)
WRITE "FILE SERVER :%FILE_SERVER"
WRITE "FULL NAME :%FULL_NAME"
WRITE "LOGIN NAME :%1"
WRITE "MACHINE :%MACHINE"
WRITE "NETWORK ADDRESS :%NETWORK"
WRITE "OS :%OS"
WRITE "PHYSICAL STATION :%P_STATION"
WRITE "SHELL VERSION :%SHELL_VERSION"
WRITE "STATION :%STATION"
WRITE "CN :%CN"
WRITE "L :%L"
WRITE "COMPUTER NAME :%COMPUTERNAME"
WRITE ""
WRITE ""
REM
REM PERFORM DRIVE MAPPINGS (All maps work fine)
MAP ROOT S1:=Server\SYS:PUBLIC
MAP ROOT G:=Server\VOL1:ADM
MAP ROOT H:=Server\VOL1:APL
MAP ROOT I:=Server\APL\DOC
MAP ROOT J:=Server\SYS:
MAP ROOT K:=Server\VOL1:APPS
MAP ROOT L:=\Server\APL\LIB
MAP ROOT M:=Server\vol1:GWDOMAIN
MAP ROOT N:=Server\SYS:SAV
MAP ROOT T:=Server\TECH
MAP ROOT U:=Server\BKUP
MAP ROOT F:=Server\ADSTAFF:USR\Tech\
DRIVE F:
REM
WRITE""
IF MEMBER_OF ="test.staff.sjps" then
TREE ipaddress (We are moving trees so this does a multiple tree login)
#c:\windows\system32\cmd.exe /c echo "%L">C:\L.txt (This does work...it write the value to the text file.)
DOS SET BUILDING="%L" (This does not work. Script error:
LOGIN-LGNWNT32.DLL-600: This utility could not interpret the line.)
END
EXIT

++++++++++++++++++++++++++++++++++++++++++++++++++


Stephanie Scott
St. Johns Public Schools
501 W. Sickles St.
St. Johns, MI 48879
Phone: 989-227-4083
Fax: 989-227-4089
E-mail: scott_s@stjohns.edzone.net