Resolved!

Now against to this line:
shell '%ComSpec% /c rename "C:\KiX\Out\$FileNameXLS.pdf" ' + split($FileNameXLS,'.')[0] + '.pdf'

should it be
shell '%ComSpec% /c rename "C:\KiX\Out\$FileNameXLS.pdf" ' + split(C:\KiX\Out\$FileNameXLS,'.')[0] + '.pdf'
?

//EDIT
hey Resolved it works now ) too! Thank u i should go home now. More on Monday


Edited by kixnewbie (2004-04-16 12:08 PM)