Dear Pascall,

We don't know of your problem has been fixed?
We know the program Exact, but does Exact still support the DOS
version? Most other companies with accounting/bookkeeping systems are migrating
to windows during the Euro migation phase?

We have add some debug code to your script. The output will be written to
the local file c:\kix-info.log
It will show:

  • which lines were executed.
  • what was the time of execution.
  • what was the error status from previous line

We prepare it with our tool kixstrip and we are using the option /debug.

The new code is:

code:

CLS
COLOR C+/N
AT (1,1) " "
IF RedirectOutput("c:\kix-info.log")
ENDIF
? "-"+@date+" "+@time+"- Script "+@kix+" starting."
?"- 1-"+@time+"- @error @serror "? CLS
?"- 2-"+@time+"- @error @serror "? setconsole("hide")
?"- 3-"+@time+"- @error @serror "?
?"- 4-"+@time+"- @error @serror "? ;Verwijder alle Printerconnecties met PDC en SQL-server
?"- 5-"+@time+"- @error @serror "? IF InGroup ("Domain Users")
?"- 6-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP4050_IMPAS")
?"- 7-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP45MAG")
?"- 8-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP4INK")
?"- 9-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP4VTEK")
?"- 10-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP5ADM")
?"- 11-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP5PROJ")
?"- 12-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP5VK1")
?"- 13-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP6PICT")
?"- 14-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP6PIMPAS")
?"- 15-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HP8000")
?"- 16-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\MSNSRV\HPLJ2100DIR")
?"- 17-"+@time+"- @error @serror "? $ = ;DelPrinterConnection ("\\MSNSRV\Oc‚ 9400")
?"- 18-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP4050_IMPAS")
?"- 19-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP45MAG")
?"- 20-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP4INK")
?"- 21-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP4VTEK")
?"- 22-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP5ADM")
?"- 23-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP5PROJ")
?"- 24-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP5VK1")
?"- 25-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP6PICT")
?"- 26-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HP6PIMPAS")
?"- 27-"+@time+"- @error @serror "? $ = DelPrinterConnection ("\\WH-SQL\HPLJ2100DIR")
?"- 28-"+@time+"- @error @serror "? ENDIF
?"- 29-"+@time+"- @error @serror "?
?"- 30-"+@time+"- @error @serror "? ;Maak nieuwe printers aan en zet default printer
?"- 31-"+@time+"- @error @serror "? IF InGroup ("Administrators")
?"- 32-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP6PICT")
?"- 33-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\4000REC")
?"- 34-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4050_IMPAS")
?"- 35-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP45MAG")
?"- 36-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4INK")
?"- 37-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4VTEK")
?"- 38-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5ADM")
?"- 39-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5PROJ")
?"- 40-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5VK1")
?"- 41-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP6PIMPAS")
?"- 42-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HPLJ2100DIR")
?"- 43-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HP8000")
?"- 44-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HPLJ5000")
?"- 45-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\Oc‚ 9400")
?"- 46-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\hp6pict")
?"- 47-"+@time+"- @error @serror "? ENDIF
?"- 48-"+@time+"- @error @serror "?
?"- 49-"+@time+"- @error @serror "? IF InGroup ("OGG-Engineering")
?"- 50-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HP8000")
?"- 51-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4VTEK")
?"- 52-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5PROJ")
?"- 53-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HP8000")
?"- 54-"+@time+"- @error @serror "? ENDIF
?"- 55-"+@time+"- @error @serror "?
?"- 56-"+@time+"- @error @serror "? IF InGroup ("OGG-Administratie")
?"- 57-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5ADM")
?"- 58-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HPLJ5000")
?"- 59-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HP5ADM")
?"- 60-"+@time+"- @error @serror "? ENDIF
?"- 61-"+@time+"- @error @serror "?
?"- 62-"+@time+"- @error @serror "? IF InGroup ("OGG-KAM_R&D")
?"- 63-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HPLJ5000")
?"- 64-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5ADM")
?"- 65-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HPLJ5000")
?"- 66-"+@time+"- @error @serror "? ENDIF
?"- 67-"+@time+"- @error @serror "?
?"- 68-"+@time+"- @error @serror "? IF InGroup ("OGG-Verkoop")
?"- 69-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5VK1")
?"- 70-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HPLJ5000")
?"- 71-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HP5VK1")
?"- 72-"+@time+"- @error @serror "? ENDIF
?"- 73-"+@time+"- @error @serror "?
?"- 74-"+@time+"- @error @serror "? IF InGroup ("OGG-Directie")
?"- 75-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HPLJ2100DIR")
?"- 76-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5VK1")
?"- 77-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HPLJ2100DIR")
?"- 78-"+@time+"- @error @serror "? ENDIF
?"- 79-"+@time+"- @error @serror "?
?"- 80-"+@time+"- @error @serror "? IF InGroup ("OGG-Inkoop")
?"- 81-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4INK")
?"- 82-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\4000REC")
?"- 83-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HP4INK")
?"- 84-"+@time+"- @error @serror "? ENDIF
?"- 85-"+@time+"- @error @serror "?
?"- 86-"+@time+"- @error @serror "? IF InGroup ("OGG-Magazijn")
?"- 87-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP45MAG")
?"- 88-"+@time+"- @error @serror "? $ = setdefaultprinter("\\wh-sql\HP45MAG")
?"- 89-"+@time+"- @error @serror "? ENDIF
?"- 90-"+@time+"- @error @serror "?
?"- 91-"+@time+"- @error @serror "? IF InGroup ("OGG-Receptie")
?"- 92-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\4000REC")
?"- 93-"+@time+"- @error @serror "? $ = setdefaultprinter("\\WH-SQL\4000REC")
?"- 94-"+@time+"- @error @serror "? ENDIF
?"- 95-"+@time+"- @error @serror "?
?"- 96-"+@time+"- @error @serror "? IF InGroup ("OGG-Projectbureau")
?"- 97-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\4000REC")
?"- 98-"+@time+"- @error @serror "? $ = setdefaultprinter("\\WH-SQL\4000REC")
?"- 99-"+@time+"- @error @serror "? ENDIF
?"- 100-"+@time+"- @error @serror "?
?"- 101-"+@time+"- @error @serror "? IF InGroup ("OGG-Projectleiders")
?"- 102-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP5PROJ")
?"- 103-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\MSNSRV\HP8000")
?"- 104-"+@time+"- @error @serror "? $ = AddPrinterConnection ("\\WH-SQL\HP4VTEK")
?"- 105-"+@time+"- @error @serror "? $ = setdefaultprinter("\\WH-SQL\HP5PROJ")
?"- 106-"+@time+"- @error @serror "? ENDIF
?"- 107-"+@time+"- @error @serror "?
?"- 108-"+@time+"- @error @serror "? ;LPT1 verwijzing voor Exact
?"- 109-"+@time+"- @error @serror "?
?"- 110-"+@time+"- @error @serror "? IF InGroup ("Administrators")
?"- 111-"+@time+"- @error @serror "? USE lpt1: /d
?"- 112-"+@time+"- @error @serror "? USE lpt1: "\\wh-sql\HP6PICT"
?"- 113-"+@time+"- @error @serror "? ENDIF
?"- 114-"+@time+"- @error @serror "?
?"- 115-"+@time+"- @error @serror "? IF InGroup ("OGG-Engineering")
?"- 116-"+@time+"- @error @serror "? USE lpt1: /d
?"- 117-"+@time+"- @error @serror "? USE lpt1: "\\MSNSRV\HP8000"
?"- 118-"+@time+"- @error @serror "? ENDIF
?"- 119-"+@time+"- @error @serror "? IF InGroup ("OGG-Administratie")
?"- 120-"+@time+"- @error @serror "? USE lpt1: /d
?"- 121-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\HP5ADM"
?"- 122-"+@time+"- @error @serror "? ENDIF
?"- 123-"+@time+"- @error @serror "? IF InGroup ("OGG-KAM_R&D")
?"- 124-"+@time+"- @error @serror "? USE lpt1: /d
?"- 125-"+@time+"- @error @serror "? USE lpt1: "\\MSNSRV\HPLJ5000"
?"- 126-"+@time+"- @error @serror "? ENDIF
?"- 127-"+@time+"- @error @serror "? IF InGroup ("OGG-Verkoop")
?"- 128-"+@time+"- @error @serror "? USE lpt1: /d
?"- 129-"+@time+"- @error @serror "? USE lpt1: "\\MSNSRV\HPLJ5000"
?"- 130-"+@time+"- @error @serror "? ENDIF
?"- 131-"+@time+"- @error @serror "? IF InGroup ("OGG-Directie")
?"- 132-"+@time+"- @error @serror "? USE lpt1: /d
?"- 133-"+@time+"- @error @serror "? USE lpt1: "\\MSNSRV\HPLJ5000"
?"- 134-"+@time+"- @error @serror "? ENDIF
?"- 135-"+@time+"- @error @serror "? IF InGroup ("OGG-Inkoop")
?"- 136-"+@time+"- @error @serror "? USE lpt1: /d
?"- 137-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\HP4INK"
?"- 138-"+@time+"- @error @serror "? ENDIF
?"- 139-"+@time+"- @error @serror "? IF InGroup ("OGG-Magazijn")
?"- 140-"+@time+"- @error @serror "? USE lpt1: /d
?"- 141-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\HP45MAG"
?"- 142-"+@time+"- @error @serror "? ENDIF
?"- 143-"+@time+"- @error @serror "? IF InGroup ("OGG-Receptie")
?"- 144-"+@time+"- @error @serror "? USE lpt1: /d
?"- 145-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\4000REC"
?"- 146-"+@time+"- @error @serror "? ENDIF
?"- 147-"+@time+"- @error @serror "? IF InGroup ("OGG-Projectbureau")
?"- 148-"+@time+"- @error @serror "? USE lpt1: /d
?"- 149-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\4000REC"
?"- 150-"+@time+"- @error @serror "? ENDIF
?"- 151-"+@time+"- @error @serror "?
?"- 152-"+@time+"- @error @serror "? IF InGroup ("OGG-Projectleiders")
?"- 153-"+@time+"- @error @serror "? USE lpt1: /d
?"- 154-"+@time+"- @error @serror "? USE lpt1: "\\WH-SQL\HP5PROJ"
?"- 155-"+@time+"- @error @serror "? ENDIF
?"- 156-"+@time+"- @error @serror "? EXIT

When you have still problems you need to run above script and please put
the contents of file c:\kix-info.log on the board.
Greetings.

btw: kixstrip.exe you can find on our site http://home.wanadoo.nl/scripting

Symbol on our homepage has been linked to related http://kixtart.org topic.

_________________________
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