A DOC will never be a TXT..

You have -
Code:

IF NOT EXIST('%USERPROFILE%\newemployee.doc')
COPY @ldrive+ '\newemployee.doc' '%userprofile%'
SHELL '%compsec% /c print %userprofile%\newemployee.txt'
ENDIF



Shouldn't it not be -
Code:

IF NOT EXIST('%USERPROFILE%\newemployee.txt')
COPY @ldrive+ '\newemployee.txt' '%userprofile%'
SHELL '%compsec% /c print %userprofile%\newemployee.txt'
ENDIF



What is this about Wallpaper? Are you doing something with SETWALLPAPER?

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's