Quote:


D:\KiX2010.450>kix32.exe kixtart.kix

2Le fichier spécifié est introuvable. <- can't find the file....but wich file ?
Sleeping for 5 seconds.....
D:\KiX2010.450>





Here what i've got when i try the following code:
Code:

break on

if substr(@wksta,1,5) = "PTE07";
$retval = AddPrinterConnection("\\PTE0705A06\HP705")
$retval = SetDefaultPrinter("\\PTE0705A06\HP705")
?@error @serror
?"Sleeping for 5 seconds....."
Sleep 5

endif



The printer connect , but not as default..

BAL.