Dear,

First we think about two things
- RedirectOutput works too slow.
- MD command aborts your script when directory already exist.
Our suggestion is to replace RedirectOutput by Open/WriteLine/Close
functions.

Try running following script. We have add some debugging code to it with
our tool kixstrip which you can find on our site.
Our call was:

kixstrip input.kix output.kix /debug

We have comment all your RedirectOutput statements. We have modify
"command.com" in "%comspec%".
We haven't implement the Open/WriteLine/Close suggestion. You can see
what the real problem with your code is.

The output will be written to the specified file c:\kixdebug.log
code:
                                            CLS
COLOR C+/N
AT (1,1) " "
IF RedirectOutput("c:\kixdebug.txt")
ENDIF
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script starting."
? "-"
? "-curdir: "+LCASE(@curdir)
? "-scriptdir: "+LCASE(@scriptdir)
IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0)
? "-scriptname: "+LCASE(@scriptname)
ENDIF
? "-startdir: "+LCASE(@startdir)
? "-"
? "-userid: "+LCASE(@userid)+"/"+LCASE(@wuserid)
? "-user priv: "+LCASE(@priv)
IF (instr("-4.xx-","-"+substr(@kix,1,2)+"xx-") <> 0)
? "-version: inwin="+@inwin+"/dos="+@dos"/productsuite="+@productsuite+"/producttype="+@producttype"/csd="+LTRIM(RTRIM(@csd))
ELSE
? "-version: inwin="+@inwin+"/dos="+@dos
ENDIF
? "-"
?"- start-"+@time+"- @error @serror "?

?"- 1-"+@time+"- @error @serror "? ;**
?"- 2-"+@time+"- @error @serror "? ;** Forest Heath District Council Kixtart Logon Script
?"- 3-"+@time+"- @error @serror "? ;**
?"- 4-"+@time+"- @error @serror "?
?"- 5-"+@time+"- @error @serror "? ;** Copy Previous Kixtart Desktop Log File
?"- 6-"+@time+"- @error @serror "? COPY C:\kix.log C:\kix-old.log /H
?"- 7-"+@time+"- @error @serror "?
?"- 8-"+@time+"- @error @serror "? ;** Setup Environment
?"- 9-"+@time+"- @error @serror "? setascii("on")
?"- 10-"+@time+"- @error @serror "? FLUSHKB
?"- 11-"+@time+"- @error @serror "? setconsole("FOREGROUND")
?"- 12-"+@time+"- @error @serror "? COLOR w+/b
?"- 13-"+@time+"- @error @serror "? CLS
?"- 14-"+@time+"- @error @serror "?
?"- 15-"+@time+"- @error @serror "? ; Set time to logon server
?"- 16-"+@time+"- @error @serror "? IF ((@wksta = "fhdcchpdc1") OR (substr(@wksta,1,6) = "FH-MEM"))
?"- 17-"+@time+"- @error @serror "? GOTO "xsettime"
?"- 18-"+@time+"- @error @serror "? ENDIF
?"- 19-"+@time+"- @error @serror "? IF (@lserver = "\\fhdcchfp1")
?"- 20-"+@time+"- @error @serror "? SHELL "NET TIME \\fhdcchfp1 /SET /YES"
?"- 21-"+@time+"- @error @serror "? ENDIF
?"- 22-"+@time+"- @error @serror "? IF (@lserver = "\\fhdcchgw1")
?"- 23-"+@time+"- @error @serror "? SHELL "NET TIME \\fhdcchgw1 /SET /YES"
?"- 24-"+@time+"- @error @serror "? ENDIF
?"- 25-"+@time+"- @error @serror "? IF (@lserver = "\\fhdcchgw2")
?"- 26-"+@time+"- @error @serror "? SHELL "NET TIME \\fhdcchgw2 /SET /YES"
?"- 27-"+@time+"- @error @serror "? ENDIF
?"- 28-"+@time+"- @error @serror "? IF (@lserver = "\\fhdcchmail")
?"- 29-"+@time+"- @error @serror "? SHELL "NET TIME \\fhdcchmail /SET /YES"
?"- 30-"+@time+"- @error @serror "? ENDIF
?"- 31-"+@time+"- @error @serror "? IF (@lserver = "\\fhdcchpdc1")
?"- 32-"+@time+"- @error @serror "? SHELL "NET TIME \\fhdcchpdc1 /SET /YES"
?"- 33-"+@time+"- @error @serror "? ENDIF
?"- 34-"+@time+"- @error @serror "? CLS
?"- 35-"+@time+"- @error @serror "? :xsettime
?"- 36-"+@time+"- @error @serror "?
?"- 37-"+@time+"- @error @serror "? ;** Initialise Variables
?"- 38-"+@time+"- @error @serror "? $hh = substr(@time,1,2)
?"- 39-"+@time+"- @error @serror "? $pwexpire = 28 - @pwage
?"- 40-"+@time+"- @error @serror "? IF (@pwage > 28)
?"- 41-"+@time+"- @error @serror "? $pwexpire = 0
?"- 42-"+@time+"- @error @serror "? ENDIF
?"- 43-"+@time+"- @error @serror "?
?"- 44-"+@time+"- @error @serror "? ;** Fox IT Logo and Logon Details
?"- 45-"+@time+"- @error @serror "? ?"Kix Version: @KIX"
?"- 46-"+@time+"- @error @serror "? ?"Domain: @DOMAIN"
?"- 47-"+@time+"- @error @serror "? ?"Logon Server: @LSERVER"
?"- 48-"+@time+"- @error @serror "? ?"Computername: @WKSTA"
?"- 49-"+@time+"- @error @serror "? ?"User ID: @USERID"
?"- 50-"+@time+"- @error @serror "? ?"Priviledge: @PRIV"
?"- 51-"+@time+"- @error @serror "? ?"Password Expiry: $PWEXPIRE days"
?"- 52-"+@time+"- @error @serror "? ?"@DATE Time: @TIME"
?"- 53-"+@time+"- @error @serror "?
?"- 54-"+@time+"- @error @serror "? ;** Logon Welcome Message
?"- 55-"+@time+"- @error @serror "? IF ($hh < 12)
?"- 56-"+@time+"- @error @serror "? $hello = "Good morning"
?"- 57-"+@time+"- @error @serror "? ENDIF
?"- 58-"+@time+"- @error @serror "? IF (($hh > 11) AND ($hh < 18))
?"- 59-"+@time+"- @error @serror "? $hello = "Good afternoon"
?"- 60-"+@time+"- @error @serror "? ENDIF
?"- 61-"+@time+"- @error @serror "? IF ($hh > 17)
?"- 62-"+@time+"- @error @serror "? $hello = "Good evening"
?"- 63-"+@time+"- @error @serror "? ENDIF
?"- 64-"+@time+"- @error @serror "? $name = substr(@fullname,1,instr(@fullname," ")-1)
?"- 65-"+@time+"- @error @serror "? ?
?"- 66-"+@time+"- @error @serror "? ?"$HELLO $NAME, You are logged onto the FHDC Windows NT Domain."
?"- 67-"+@time+"- @error @serror "?
?"- 68-"+@time+"- @error @serror "? ;** Drive Mappings Message
?"- 69-"+@time+"- @error @serror "? ?"Logon drive mappings are;"
?"- 70-"+@time+"- @error @serror "?
?"- 71-"+@time+"- @error @serror "? ;** U: User Mapping
?"- 72-"+@time+"- @error @serror "? IF (instr(@homeshr,"fhdcchfp1"))
?"- 73-"+@time+"- @error @serror "? $homeshr = "\\fhdcchfp1\@USERID"
?"- 74-"+@time+"- @error @serror "? ELSE
?"- 75-"+@time+"- @error @serror "? $homeshr = "\\fhdcchfp2\@USERID"
?"- 76-"+@time+"- @error @serror "? ENDIF
?"- 77-"+@time+"- @error @serror "? USE U: $homeshr
?"- 78-"+@time+"- @error @serror "? ?"U: - Personal"
?"- 79-"+@time+"- @error @serror "?
?"- 80-"+@time+"- @error @serror "? ;** G: Primary Group Mapping
?"- 81-"+@time+"- @error @serror "? IF (ingroup("Accounts"))
?"- 82-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\accounts"
?"- 83-"+@time+"- @error @serror "? ?"G: - Accounts"
?"- 84-"+@time+"- @error @serror "? ENDIF
?"- 85-"+@time+"- @error @serror "? IF (ingroup("Admin"))
?"- 86-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\admin"
?"- 87-"+@time+"- @error @serror "? ?"G: - Administration"
?"- 88-"+@time+"- @error @serror "? ENDIF
?"- 89-"+@time+"- @error @serror "? IF (ingroup("Audit"))
?"- 90-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\audit"
?"- 91-"+@time+"- @error @serror "? ?"G: - Audit"
?"- 92-"+@time+"- @error @serror "? ENDIF
?"- 93-"+@time+"- @error @serror "? IF (ingroup("Dev&Planning"))
?"- 94-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\dev&planning"
?"- 95-"+@time+"- @error @serror "? ?"G: - Development & Planning"
?"- 96-"+@time+"- @error @serror "? ENDIF
?"- 97-"+@time+"- @error @serror "? IF ((ingroup("Dir-DCS-Sec")) AND (ingroup("Dev&Planning") =0))
?"- 98-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\dir-dcs-sec"
?"- 99-"+@time+"- @error @serror "? ?"G: - Director of DCS Secretary"
?"- 100-"+@time+"- @error @serror "? ENDIF
?"- 101-"+@time+"- @error @serror "? IF (ingroup("Dir-Fin-Sec"))
?"- 102-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\dir-fin-sec"
?"- 103-"+@time+"- @error @serror "? ?"G: - Director of Finance Secretary"
?"- 104-"+@time+"- @error @serror "? ENDIF
?"- 105-"+@time+"- @error @serror "? IF ((ingroup("Dir-LA-Sec")) AND (ingroup("Legal") = 0))
?"- 106-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\dir-la-sec"
?"- 107-"+@time+"- @error @serror "? ?"G: - Director of Law & Admin Secretary"
?"- 108-"+@time+"- @error @serror "? ENDIF
?"- 109-"+@time+"- @error @serror "? IF (ingroup("Env-Services"))
?"- 110-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\envserv"
?"- 111-"+@time+"- @error @serror "? ?"G: - Environmental Services"
?"- 112-"+@time+"- @error @serror "? ENDIF
?"- 113-"+@time+"- @error @serror "? IF (ingroup("Fox-IT"))
?"- 114-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\fox-it"
?"- 115-"+@time+"- @error @serror "? ?"G: - Fox IT"
?"- 116-"+@time+"- @error @serror "? ENDIF
?"- 117-"+@time+"- @error @serror "? IF ((ingroup("Housing")) AND (ingroup("Property") =0))
?"- 118-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\housing"
?"- 119-"+@time+"- @error @serror "? ?"G: - Housing"
?"- 120-"+@time+"- @error @serror "? ENDIF
?"- 121-"+@time+"- @error @serror "? IF (ingroup("HR"))
?"- 122-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\hr"
?"- 123-"+@time+"- @error @serror "? ?"G: - Human Resources"
?"- 124-"+@time+"- @error @serror "? ENDIF
?"- 125-"+@time+"- @error @serror "? IF (ingroup("IT"))
?"- 126-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\it"
?"- 127-"+@time+"- @error @serror "? ?"G: - Information Technology"
?"- 128-"+@time+"- @error @serror "? ENDIF
?"- 129-"+@time+"- @error @serror "? IF (ingroup("Land Charges"))
?"- 130-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\land-charges"
?"- 131-"+@time+"- @error @serror "? ?"G: - Land Charges"
?"- 132-"+@time+"- @error @serror "? ENDIF
?"- 133-"+@time+"- @error @serror "? IF ((ingroup("LandProp&EconDev")) AND (ingroup(Housing) =0))
?"- 134-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\land&econdev"
?"- 135-"+@time+"- @error @serror "? ?"G: - Land & Property \ Economic Development"
?"- 136-"+@time+"- @error @serror "? ENDIF
?"- 137-"+@time+"- @error @serror "? IF (ingroup("Legal"))
?"- 138-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\legal"
?"- 139-"+@time+"- @error @serror "? ?"G: - Legal"
?"- 140-"+@time+"- @error @serror "? ENDIF
?"- 141-"+@time+"- @error @serror "? IF ((((ingroup("Leisure")) AND (ingroup("Dev&Planning") = 0)) AND (ingroup("LandProp&EconDev") = 0)) AND (ingroup("Dir-Fin-Sec") = 0))
?"- 142-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\leisure"
?"- 143-"+@time+"- @error @serror "? ?"G: - Leisure Services"
?"- 144-"+@time+"- @error @serror "? ENDIF
?"- 145-"+@time+"- @error @serror "? IF (ingroup("Members"))
?"- 146-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\members"
?"- 147-"+@time+"- @error @serror "? ?"G: - Council Members"
?"- 148-"+@time+"- @error @serror "? ENDIF
?"- 149-"+@time+"- @error @serror "? IF (ingroup("Policy"))
?"- 150-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\policy"
?"- 151-"+@time+"- @error @serror "? ?"G: - Policy Office"
?"- 152-"+@time+"- @error @serror "? ENDIF
?"- 153-"+@time+"- @error @serror "? IF (ingroup("PR"))
?"- 154-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\pr"
?"- 155-"+@time+"- @error @serror "? ?"G: - Public Relations"
?"- 156-"+@time+"- @error @serror "? ENDIF
?"- 157-"+@time+"- @error @serror "? IF ((ingroup("Property")) AND (ingroup("Fox-IT") = 0))
?"- 158-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\property"
?"- 159-"+@time+"- @error @serror "? ?"G: - Property Services"
?"- 160-"+@time+"- @error @serror "? ENDIF
?"- 161-"+@time+"- @error @serror "? IF (ingroup("Revenues"))
?"- 162-"+@time+"- @error @serror "? USE G: "\\fhdcchfp2\revenues"
?"- 163-"+@time+"- @error @serror "? ?"G: - Revenues"
?"- 164-"+@time+"- @error @serror "? ENDIF
?"- 165-"+@time+"- @error @serror "? IF (ingroup("Training"))
?"- 166-"+@time+"- @error @serror "? USE G: "\\fhdcchfp1\training"
?"- 167-"+@time+"- @error @serror "? ?"G: - Training"
?"- 168-"+@time+"- @error @serror "? ENDIF
?"- 169-"+@time+"- @error @serror "?
?"- 170-"+@time+"- @error @serror "? ;** H: Supplementary Group Mapping
?"- 171-"+@time+"- @error @serror "? IF ((ingroup("Dev&Planning")) AND (ingroup("Property")))
?"- 172-"+@time+"- @error @serror "? USE H: "\\fhdcchfp1\dev&planning"
?"- 173-"+@time+"- @error @serror "? ?"H: - Dev&Planning"
?"- 174-"+@time+"- @error @serror "? ENDIF
?"- 175-"+@time+"- @error @serror "? IF ((ingroup("Dir-DCS-Sec")) AND (ingroup("Dev&Planning")))
?"- 176-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\dir-dcs-sec"
?"- 177-"+@time+"- @error @serror "? ?"H: - Director of DCS Secretary"
?"- 178-"+@time+"- @error @serror "? ENDIF
?"- 179-"+@time+"- @error @serror "? IF ((ingroup("Dir-LA-Sec")) AND (ingroup("Legal")))
?"- 180-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\dir-la-sec"
?"- 181-"+@time+"- @error @serror "? ?"H: - Director of Law and Admin Secretary"
?"- 182-"+@time+"- @error @serror "? ENDIF
?"- 183-"+@time+"- @error @serror "? IF ((ingroup("Housing")) AND (ingroup("Property")))
?"- 184-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\housing"
?"- 185-"+@time+"- @error @serror "? ?"H: - Housing"
?"- 186-"+@time+"- @error @serror "? ENDIF
?"- 187-"+@time+"- @error @serror "? IF ((ingroup("Leisure")) AND (ingroup("Dev&Planning")))
?"- 188-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\leisure"
?"- 189-"+@time+"- @error @serror "? ?"H: - Leisure Services"
?"- 190-"+@time+"- @error @serror "? ENDIF
?"- 191-"+@time+"- @error @serror "? IF ((ingroup("Leisure")) AND (ingroup("Dir-Fin-Sec")))
?"- 192-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\leisure"
?"- 193-"+@time+"- @error @serror "? ?"H: - Leisure Services"
?"- 194-"+@time+"- @error @serror "? ENDIF
?"- 195-"+@time+"- @error @serror "? IF ((ingroup("Leisure")) AND (ingroup("LandProp&EconDev")))
?"- 196-"+@time+"- @error @serror "? USE H: "\\fhdcchfp2\leisure"
?"- 197-"+@time+"- @error @serror "? ?"H: - Leisure Services"
?"- 198-"+@time+"- @error @serror "? ENDIF
?"- 199-"+@time+"- @error @serror "? IF ((ingroup("Payroll")) AND (ingroup("Accounts")))
?"- 200-"+@time+"- @error @serror "? USE H: "\\fhdcchfp1\payroll"
?"- 201-"+@time+"- @error @serror "? ?"H: - Payroll"
?"- 202-"+@time+"- @error @serror "? ENDIF
?"- 203-"+@time+"- @error @serror "? IF ((ingroup("Property")) AND (ingroup("Fox-IT")))
?"- 204-"+@time+"- @error @serror "? USE H: "\\fhdcchfp1\property"
?"- 205-"+@time+"- @error @serror "? ?"H: - Property Services"
?"- 206-"+@time+"- @error @serror "? ENDIF
?"- 207-"+@time+"- @error @serror "? IF (ingroup("PR-ReadOnly"))
?"- 208-"+@time+"- @error @serror "? USE H: "\\fhdcchfp1\pr"
?"- 209-"+@time+"- @error @serror "? ?"H: - Public Relations (Read Only)"
?"- 210-"+@time+"- @error @serror "? ENDIF
?"- 211-"+@time+"- @error @serror "?
?"- 212-"+@time+"- @error @serror "? ;** I: Supplementary Group Mapping
?"- 213-"+@time+"- @error @serror "? IF (((ingroup("LandProp&EconDev")) AND (ingroup("Housing"))) AND (ingroup("Property")))
?"- 214-"+@time+"- @error @serror "? USE I: "\\fhdcchfp2\land&econdev"
?"- 215-"+@time+"- @error @serror "? ?"I: - Land & Property \ Economic Development"
?"- 216-"+@time+"- @error @serror "? ENDIF
?"- 217-"+@time+"- @error @serror "?
?"- 218-"+@time+"- @error @serror "? ;** J: Supplementary Group Mapping
?"- 219-"+@time+"- @error @serror "?
?"- 220-"+@time+"- @error @serror "? ;** K: Application Mapping
?"- 221-"+@time+"- @error @serror "? IF (ingroup("Env-Services"))
?"- 222-"+@time+"- @error @serror "? USE K: "\\fhdcchfp1\mka"
?"- 223-"+@time+"- @error @serror "? ?"K: - Mka Public Protection Wizard"
?"- 224-"+@time+"- @error @serror "? ENDIF
?"- 225-"+@time+"- @error @serror "?
?"- 226-"+@time+"- @error @serror "? ;** L: Application Mapping
?"- 227-"+@time+"- @error @serror "? IF (ingroup("Icon Export-Import"))
?"- 228-"+@time+"- @error @serror "? USE L: "\\fhdcchap1\iconftf"
?"- 229-"+@time+"- @error @serror "? ?"L: - Icon Export-Import"
?"- 230-"+@time+"- @error @serror "? ENDIF
?"- 231-"+@time+"- @error @serror "?
?"- 232-"+@time+"- @error @serror "? ;** M: Application Mapping
?"- 233-"+@time+"- @error @serror "? IF (ingroup("Personnel-Manager"))
?"- 234-"+@time+"- @error @serror "? USE M: "\\fhdcchfp2\personnel manager"
?"- 235-"+@time+"- @error @serror "? ?"M: - Personnel Manager"
?"- 236-"+@time+"- @error @serror "? ENDIF
?"- 237-"+@time+"- @error @serror "?
?"- 238-"+@time+"- @error @serror "? ;** N: Application Mapping
?"- 239-"+@time+"- @error @serror "? IF ingroup("SSM")
?"- 240-"+@time+"- @error @serror "? IF (ingroup("Accounts"))
?"- 241-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbuac"
?"- 242-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 243-"+@time+"- @error @serror "? ENDIF
?"- 244-"+@time+"- @error @serror "? IF (ingroup("Admin"))
?"- 245-"+@time+"- @error @serror "? USE N: "\\fhdcchfp2\ssmbuad"
?"- 246-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 247-"+@time+"- @error @serror "? ENDIF
?"- 248-"+@time+"- @error @serror "? IF (ingroup("Dev&Planning"))
?"- 249-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbupl"
?"- 250-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 251-"+@time+"- @error @serror "? ENDIF
?"- 252-"+@time+"- @error @serror "? IF (ingroup("Env-Services"))
?"- 253-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbueh"
?"- 254-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 255-"+@time+"- @error @serror "? ENDIF
?"- 256-"+@time+"- @error @serror "? IF ((ingroup("Housing")) OR (ingroup("Property")))
?"- 257-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbuhr"
?"- 258-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 259-"+@time+"- @error @serror "? ENDIF
?"- 260-"+@time+"- @error @serror "? IF (ingroup("IT"))
?"- 261-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbuit"
?"- 262-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 263-"+@time+"- @error @serror "? ENDIF
?"- 264-"+@time+"- @error @serror "? IF ((ingroup("Legal")) OR (ingroup("Dir-LA-Sec")))
?"- 265-"+@time+"- @error @serror "? USE N: "\\fhdcchfp1\ssmbulg"
?"- 266-"+@time+"- @error @serror "? ?"N: - SSM Backup"
?"- 267-"+@time+"- @error @serror "? ENDIF
?"- 268-"+@time+"- @error @serror "? ENDIF
?"- 269-"+@time+"- @error @serror "?
?"- 270-"+@time+"- @error @serror "? ;** O: Application Mapping
?"- 271-"+@time+"- @error @serror "? IF (ingroup ("Orch-Word-Data"))
?"- 272-"+@time+"- @error @serror "? USE O: "\\fhdcchap3\worddata"
?"- 273-"+@time+"- @error @serror "? ?"O: - Orchard WordData"
?"- 274-"+@time+"- @error @serror "? ENDIF
?"- 275-"+@time+"- @error @serror "?
?"- 276-"+@time+"- @error @serror "? ;** P: Application Mapping
?"- 277-"+@time+"- @error @serror "? IF ((ingroup("Revenues")) OR (ingroup("IT")))
?"- 278-"+@time+"- @error @serror "? USE P: "\\fhdcchfp1\qmcharts"
?"- 279-"+@time+"- @error @serror "? ?"P: - QM Charts"
?"- 280-"+@time+"- @error @serror "? ENDIF
?"- 281-"+@time+"- @error @serror "?
?"- 282-"+@time+"- @error @serror "? ;** Q: Application Mapping
?"- 283-"+@time+"- @error @serror "? IF (ingroup ("Corporate-Apps"))
?"- 284-"+@time+"- @error @serror "? USE Q: "\\fhdcchfp2\applications"
?"- 285-"+@time+"- @error @serror "? ?"Q: - Applications"
?"- 286-"+@time+"- @error @serror "? ENDIF
?"- 287-"+@time+"- @error @serror "?
?"- 288-"+@time+"- @error @serror "? ;** R: Application Mapping
?"- 289-"+@time+"- @error @serror "? IF (ingroup ("AGRShares"))
?"- 290-"+@time+"- @error @serror "? USE R: "\\fhdcchap6\shares"
?"- 291-"+@time+"- @error @serror "? ?"R: - Agresso Shares Test System"
?"- 292-"+@time+"- @error @serror "? ENDIF
?"- 293-"+@time+"- @error @serror "?
?"- 294-"+@time+"- @error @serror "? ;** S: Application Mapping
?"- 295-"+@time+"- @error @serror "? IF (ingroup ("Land Charges"))
?"- 296-"+@time+"- @error @serror "? USE S: "\\fhdcchap2\kofax"
?"- 297-"+@time+"- @error @serror "? ?"S: - Kofax Share"
?"- 298-"+@time+"- @error @serror "? ENDIF
?"- 299-"+@time+"- @error @serror "?
?"- 300-"+@time+"- @error @serror "? ;** T: Application Mapping
?"- 301-"+@time+"- @error @serror "? IF (ingroup ("AGRShares"))
?"- 302-"+@time+"- @error @serror "? USE T: "\\fhdcchap5\shares_live"
?"- 303-"+@time+"- @error @serror "? ?"T: - Agresso Shares Live System"
?"- 304-"+@time+"- @error @serror "? ENDIF
?"- 305-"+@time+"- @error @serror "?
?"- 306-"+@time+"- @error @serror "? ;** X: FHDC Corporate Mapping
?"- 307-"+@time+"- @error @serror "? USE X: "\\fhdcchfp2\corporate"
?"- 308-"+@time+"- @error @serror "? ?"X: - FHDC Corporate"
?"- 309-"+@time+"- @error @serror "?
?"- 310-"+@time+"- @error @serror "? ;** Helpdesk Message
?"- 311-"+@time+"- @error @serror "? ?
?"- 312-"+@time+"- @error @serror "? ?"Problems should be reported to the Fox IT helpdesk on **** or ****-*******."
?"- 313-"+@time+"- @error @serror "?
?"- 314-"+@time+"- @error @serror "? ;** Exit Message
?"- 315-"+@time+"- @error @serror "? IF (substr(@wksta,1,6) = "FH-MEM")
?"- 316-"+@time+"- @error @serror "? GOTO xpresskey
?"- 317-"+@time+"- @error @serror "? ENDIF
?"- 318-"+@time+"- @error @serror "? ?"Press any key to continue."
?"- 319-"+@time+"- @error @serror "? GET $key
?"- 320-"+@time+"- @error @serror "? :xpresskey
?"- 321-"+@time+"- @error @serror "?
?"- 322-"+@time+"- @error @serror "? ;** Admin Tasks
?"- 323-"+@time+"- @error @serror "? ?"Updates start"
?"- 324-"+@time+"- @error @serror "? IF ((substr(@wksta,1,2) = "DT") OR (substr(@wksta,1,2) = "LT"))
?"- 325-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\locate.bat"
?"- 326-"+@time+"- @error @serror "? ENDIF
?"- 327-"+@time+"- @error @serror "? IF (substr(@wksta,1,5) = "DT023")
?"- 328-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\locdt023.bat"
?"- 329-"+@time+"- @error @serror "? ENDIF
?"- 330-"+@time+"- @error @serror "? IF ((substr(@wksta,1,2) = "DT") OR (substr(@wksta,1,2) = "LT"))
?"- 331-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\normal.bat"
?"- 332-"+@time+"- @error @serror "? ENDIF
?"- 333-"+@time+"- @error @serror "? IF (exist("C:\Windows\Start Menu\Programs\StartUp\Microsoft Find Fast.lnk") = 1)
?"- 334-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\off97del.bat"
?"- 335-"+@time+"- @error @serror "? ENDIF
?"- 336-"+@time+"- @error @serror "? IF ((substr(@wksta,1,2) = "DT") OR (substr(@wksta,1,2) = "LT"))
?"- 337-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\sdate.bat"
?"- 338-"+@time+"- @error @serror "? ENDIF
?"- 339-"+@time+"- @error @serror "? IF (substr(@wksta,1,6) = "FH-MEM")
?"- 340-"+@time+"- @error @serror "? SHELL "%comspec% /C \\fhdcchfp1\support\2kwd97.bat"
?"- 341-"+@time+"- @error @serror "? ENDIF
?"- 342-"+@time+"- @error @serror "? ?"Updates end"
?"- 343-"+@time+"- @error @serror "?
?"- 344-"+@time+"- @error @serror "? ;** SMS Client Installation
?"- 345-"+@time+"- @error @serror "? ;if (((substr(@WKSTA,1,2) = "DT") or (substr(@WKSTA,1,2) = "LT")) or (substr(@WKSTA,6,1) = "W"))
?"- 346-"+@time+"- @error @serror "? ; shell "%comspec% /E:2048 /C \\fhdcchpdc1\netlogon\SMSLS.BAT"
?"- 347-"+@time+"- @error @serror "? ;endif
?"- 348-"+@time+"- @error @serror "? ?"End of logon script(1)"
?"- 349-"+@time+"- @error @serror "?
?"- 350-"+@time+"- @error @serror "? ;** Kixtart Desktop Log
?"- 351-"+@time+"- @error @serror "? ?"End of logon script(2)"
?"- 352-"+@time+"- @error @serror "? ;redirectoutput("C:\kix.log",1)
?"- 353-"+@time+"- @error @serror "? ?"Log Starts @DATE @TIME"
?"- 354-"+@time+"- @error @serror "? ?"Kix Version: @KIX"
?"- 355-"+@time+"- @error @serror "? ?"Domain: @DOMAIN"
?"- 356-"+@time+"- @error @serror "? ?"Logon Server: @LSERVER"
?"- 357-"+@time+"- @error @serror "? ?"Computername: @WKSTA"
?"- 358-"+@time+"- @error @serror "? ?"Address: @ADDRESS"
?"- 359-"+@time+"- @error @serror "? ?"User ID: @USERID"
?"- 360-"+@time+"- @error @serror "? ?"Full Name: @FULLNAME"
?"- 361-"+@time+"- @error @serror "? ?"Priviledge: @PRIV"
?"- 362-"+@time+"- @error @serror "? ?"Password Expiry: $PWEXPIRE"
?"- 363-"+@time+"- @error @serror "? ?
USE LIST
?"- 364-"+@time+"- @error @serror "? ?"Log Ends @DATE @TIME"
?"- 365-"+@time+"- @error @serror "? ?"End of logon script(3)"
?"- 366-"+@time+"- @error @serror "?
?"- 367-"+@time+"- @error @serror "? ;** Kixtart Network Log
?"- 368-"+@time+"- @error @serror "? IF ((substr(@wksta,1,2) = "DT") OR (substr(@wksta,1,2) = "LT"))
?"- 369-"+@time+"- @error @serror "? $netlogfile = "\\fhdcchfp1\kixlogs\" + @wksta + "\kix.log"
?"- 370-"+@time+"- @error @serror "? IF (exist($netlogfile) = 0)
?"- 371-"+@time+"- @error @serror "? MD "\\fhdcchfp1\kixlogs\@WKSTA"
?"- 371a-"+@time+"- @error @serror "? IF (@error <> 0)
?"- 371b-"+@time+"- @error @serror "? ENDIF
?"- 372-"+@time+"- @error @serror "? ENDIF
?"- 373-"+@time+"- @error @serror "? ; redirectoutput($netlogfile,0)
?"- 374-"+@time+"- @error @serror "? ?"Log Starts @DATE @TIME"
?"- 375-"+@time+"- @error @serror "? ?"Kix Version: @KIX"
?"- 376-"+@time+"- @error @serror "? ?"Domain: @DOMAIN"
?"- 377-"+@time+"- @error @serror "? ?"Logon Server: @LSERVER"
?"- 378-"+@time+"- @error @serror "? ?"Computername: @WKSTA"
?"- 379-"+@time+"- @error @serror "? ?"Address: @ADDRESS"
?"- 380-"+@time+"- @error @serror "? ?"User ID: @USERID"
?"- 381-"+@time+"- @error @serror "? ?"Full Name: @FULLNAME"
?"- 382-"+@time+"- @error @serror "? ?"Priviledge: @PRIV"
?"- 383-"+@time+"- @error @serror "? ?"Password Expiry: $PWEXPIRE"
?"- 384-"+@time+"- @error @serror "? ?
USE LIST
?"- 385-"+@time+"- @error @serror "? ?"Log Ends @DATE @TIME"
?"- 386-"+@time+"- @error @serror "? ?"End of logon script(4)"
?"- 387-"+@time+"- @error @serror "? ENDIF

?"- end-"+@time+"- @error @serror "?
? "-"
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script ending."
? "-"
IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0)
? "-"+@cpu+" ("+@mhz+" Mhz, memory "+MemorySize()+" MB)"
ENDIF
? "-"
;($begin)
;
; fri 24-may-2002 08:05:02 (kix 4.10 vs 3.04e)
;
;Informative KIXSTRIP: no errors found (input=387 output=387 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 [70:1:70]
; - select:case:endselect [0:0:0]
; - while:loop [0:0]
;Informative KIXSTRIP: 70 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 GET
;Informative KIXSTRIP: 2 GOTO
;Informative KIXSTRIP: 12 SHELL
;Informative KIXSTRIP: 53 USE
;
;($end)

Return the file contents of "c:\kixdebug.log" on the board.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA