Dear,We have add some debugging code to your script. So you
can see
- which lines were executed
- what was the time of execution
- what was the error status
Debug version:
code:
CLS
COLOR C+/N
AT (1,1) " "
IF RedirectOutput("c:\kixdebug.log")
ENDIF
? "-"+@date+" "+@time+"- Script "+@kix+" starting."
?"- 1-"+@time+"- @error @serror "? IF "%OS%" = "Windows_NT"
?"- 2-"+@time+"- @error @serror "? GOTO Variablez
?"- 3-"+@time+"- @error @serror "? ELSE
?"- 4-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe ComputerName=$WKSTA"
?"- 5-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe UserFullName=$FullName"
?"- 6-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe UserDesc=$comment"
?"- 7-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe Privilege=$PRIV"
?"- 8-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe WorkGroup=$DOMAIN"
?"- 9-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe NetLogonDrv=$LDRIVE"
?"- 10-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe MACAddress=$ADDRESS"
?"- 11-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe UserName=$USERID"
?"- 12-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe LogonServer=$LSERVER"
?"- 13-"+@time+"- @error @serror "? SHELL @ldrive + "\Winset.exe UserDomain=$LDOMAIN"
?"- 14-"+@time+"- @error @serror "? ENDIF
?"- 15-"+@time+"- @error @serror "? :variablez
?"- 16-"+@time+"- @error @serror "? IF "%OS%" <> "Windows_NT"
?"- 17-"+@time+"- @error @serror "? SET "ComputerName=$WKSTA"
?"- 18-"+@time+"- @error @serror "? SET "UserFullName=$FullName"
?"- 19-"+@time+"- @error @serror "? SET "UserDesc=$comment"
?"- 20-"+@time+"- @error @serror "? SET "Privilege=$PRIV"
?"- 21-"+@time+"- @error @serror "? SET "WorkGroup=$DOMAIN"
?"- 22-"+@time+"- @error @serror "? SET "NetLogonDrv=$LDRIVE"
?"- 23-"+@time+"- @error @serror "? SET "MACAddress=$ADDRESS"
?"- 24-"+@time+"- @error @serror "? SET "UserName=$USERID"
?"- 25-"+@time+"- @error @serror "? SET "LogonServer=$LSERVER"
?"- 26-"+@time+"- @error @serror "? SET "UserDomain=$LDOMAIN"
?"- 27-"+@time+"- @error @serror "? ENDIF
?"- 28-"+@time+"- @error @serror "? ; Set Environment Variables used to set local variables
?"- 29-"+@time+"- @error @serror "? $computername="@WKSTA"
?"- 30-"+@time+"- @error @serror "? $userfullname="@FULLNAME"
?"- 31-"+@time+"- @error @serror "? $userdesc="@COMMENT"
?"- 32-"+@time+"- @error @serror "? $privilege="@PRIV"
?"- 33-"+@time+"- @error @serror "? $workgroup="@DOMAIN"
?"- 34-"+@time+"- @error @serror "? $netlogondrv="@LDRIVE"
?"- 35-"+@time+"- @error @serror "? $macaddress="@IPADDRESS0"
?"- 36-"+@time+"- @error @serror "? $username="@USERID"
?"- 37-"+@time+"- @error @serror "? $logonserver="@LSERVER"
?"- 38-"+@time+"- @error @serror "? $userdomain="@LDOMAIN"
?"- 39-"+@time+"- @error @serror "? $winset="$NetLogonDrv\WINSET"
?"- 40-"+@time+"- @error @serror "? CLS
?"- 41-"+@time+"- @error @serror "? :welcomescreen
?"- 42-"+@time+"- @error @serror "? SMALL
?"- 43-"+@time+"- @error @serror "? COLOR b+/n
?"- 44-"+@time+"- @error @serror "? BOX (0,0,26,79,GRID)
?"- 45-"+@time+"- @error @serror "? COLOR b/n
?"- 46-"+@time+"- @error @serror "? BOX (3,9,23,71,GRID)
?"- 47-"+@time+"- @error @serror "? COLOR g+/n
?"- 48-"+@time+"- @error @serror "? BOX (2,8,22,70,FULL)
?"- 49-"+@time+"- @error @serror "? AT (11,11) "UserID : "
?"- 50-"+@time+"- @error @serror "? SETTIME "\\GSC1"
?"- 51-"+@time+"- @error @serror "? IF ((@time > "00:00:00") AND (@time < "12:00:00"))
?"- 52-"+@time+"- @error @serror "? AT (12,11) "Good Morning :"
?"- 53-"+@time+"- @error @serror "? ELSE
?"- 54-"+@time+"- @error @serror "? IF ((@time >= "12:00:00") AND (@time < "18:00:00"))
?"- 55-"+@time+"- @error @serror "? AT (12,11) "Good Afternoon :"
?"- 56-"+@time+"- @error @serror "? ELSE
?"- 57-"+@time+"- @error @serror "? AT (12,11) "Good Evening :,"
?"- 58-"+@time+"- @error @serror "? ENDIF
?"- 59-"+@time+"- @error @serror "? ENDIF
?"- 60-"+@time+"- @error @serror "? ;
?"- 61-"+@time+"- @error @serror "? AT (13,11) "Description : "
?"- 62-"+@time+"- @error @serror "? AT (14,11) "Privilege : "
?"- 63-"+@time+"- @error @serror "? AT (15,11) "Computer Name : "
?"- 64-"+@time+"- @error @serror "? AT (16,11) "IP Address : "
?"- 65-"+@time+"- @error @serror "? AT (17,11) "Domain : "
?"- 66-"+@time+"- @error @serror "? AT (18,11) "Logon Domain : "
?"- 67-"+@time+"- @error @serror "? AT (19,11) "Logon Server : "
?"- 68-"+@time+"- @error @serror "? ; DISPLAY VARIABLES
?"- 69-"+@time+"- @error @serror "? COLOR y+/n
?"- 70-"+@time+"- @error @serror "? AT (9,10) " WELCOME TO THE DAKOTA COUNTY NETWORK"
?"- 71-"+@time+"- @error @serror "? AT (11,35) @userid
?"- 72-"+@time+"- @error @serror "? AT (12,35) @fullname
?"- 73-"+@time+"- @error @serror "? AT (13,35) @comment
?"- 74-"+@time+"- @error @serror "? AT (14,35) @priv
?"- 75-"+@time+"- @error @serror "? AT (15,35) @wksta
?"- 76-"+@time+"- @error @serror "? AT (16,35) @ipaddress0
?"- 77-"+@time+"- @error @serror "? AT (17,35) @domain
?"- 78-"+@time+"- @error @serror "? AT (18,35) @ldomain
?"- 79-"+@time+"- @error @serror "? AT (19,35) @lserver
?"- 80-"+@time+"- @error @serror "? COLOR y+/b
?"- 81-"+@time+"- @error @serror "? AT (21,10) "Mapping Drives...Thank you for your patience..."
?"- 82-"+@time+"- @error @serror "?
?"- 83-"+@time+"- @error @serror "? ;map data drives to nscfs3
?"- 84-"+@time+"- @error @serror "? ;map executable drive according to location
?"- 85-"+@time+"- @error @serror "? ;$LSERVER=wscfstst
?"- 86-"+@time+"- @error @serror "? CALL \\wscfstst\kixtart\nettest
?"- 87-"+@time+"- @error @serror "? $lserver=wscfstst
?"- 88-"+@time+"- @error @serror "? $type=MICROSOFT
?"- 89-"+@time+"- @error @serror "? IF $type = "MICROSOFT"
?"- 90-"+@time+"- @error @serror "? USE V: /del
?"- 91-"+@time+"- @error @serror "? USE V: "\\$LSERVER\EXECPROD"
?"- 92-"+@time+"- @error @serror "? USE W: /del
?"- 93-"+@time+"- @error @serror "? USE W: "\\$LSERVER\SYS3"
?"- 94-"+@time+"- @error @serror "? USE X: /del
?"- 95-"+@time+"- @error @serror "? USE X: "\\$LSERVER\KIXTART"
?"- 96-"+@time+"- @error @serror "? USE Y: /del
?"- 97-"+@time+"- @error @serror "? USE Y: "\\$LSERVER\SYS"
?"- 98-"+@time+"- @error @serror "? ELSE
?"- 99-"+@time+"- @error @serror "? ;SHELL "Y:\PUBLIC\MAP ROOT Z:=$MAPZ"
?"- 100-"+@time+"- @error @serror "? SHELL "Y:\PUBLIC\MAP ROOT V:=$MAPV"
?"- 101-"+@time+"- @error @serror "? USE W: /del
?"- 102-"+@time+"- @error @serror "? USE W: "$MAPW"
?"- 103-"+@time+"- @error @serror "? SHELL "Y:\PUBLIC\MAP ROOT X:=$MAPX"
?"- 104-"+@time+"- @error @serror "? ENDIF
?"- 105-"+@time+"- @error @serror "? USE P: /del
?"- 106-"+@time+"- @error @serror "? USE P: @homeshr;($begin)
;
; wed 23-jan-2002 05:15:06 (kix 4.00 vs 2.33e)
;
;Informative KIXSTRIP: no errors found (input=106 output=106 skip=0).
;
;Summary KIXSTRIP: block structures
; - do:until [0:0]
; - for|each:in|to:step|next [0|0:0|0:0|0]
; - function:endfunction [0:0]
; - if:else:endif [5:4:5]
; - select:case:endselect [0:0:0]
; - while:loop [0:0]
;Informative KIXSTRIP: 5 block_structures found.
;Informative KIXSTRIP: no UDF's found.
;Informative KIXSTRIP: 2 labels found.
;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE
;Informative KIXSTRIP: 1 CALL
;Informative KIXSTRIP: 1 GOTO
;Informative KIXSTRIP: 12 SHELL
;Informative KIXSTRIP: 12 USE
;
;($end)
Please run this version and return the output of file "c:\kixdebug.log" to the
board. Please return also the result of set command to the board.Please can you put also your CONFIG.SYS and AUTOEXEC.BAT on the board?
greetings.
btw: it can be possible that the output on your screen looks a little bit confu-
sion, but that isn't important. Possible the result of our RedirectOutput call.
btw: please try to run your script also with WINSET installed on your clients
with above problems.
btw: change your CONFIG.SYS file for SHELL call
f.e. SHELL=C:\COMMAND.COM /E:2048 /P
How to automate this proces? see our next reaction.
btw: by a small SHELL size f.e. /E:1024 we get following message "Out of environment space".
After changing it to /E:2048 we don't get this message again.
For testing your limitations we have create a small BAT file
code:
set z01=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z02=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z03=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z04=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z05=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z06=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
set z07=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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