Ok sorry I realise I think i am getting a bit confused! we run Kix32 as part of a users profile during logon this calls Kixtart.scr within this script I have added a call to delete.scr. I want to add the following lines to the client PC's autoexec.bat file:

deltree /y c:\temp\.
deltree /y c:\windows\recent\.
deltree /y c:\windows\temp\.
deltree /y c:\windows\tempor~1\.
if not exist c:\temp\nul mkdir c:\temp
if not exist c:\windows\recent\nul mkdir c:\windows\recent
if not exist c:\windows\temp\nul mkdir c:\windows\temp

This is so that everytime the user starts the PC up all the temp files are deleted.