Try this...

code:

$SearchFile = "%userprofile%\desktop\file.doc"

if Exist($SearchFile) = 0
?"Copying file..."
shell "%comspec% /c xcopy c:\file.doc %userprofile%\desktop\"
else
?"File already copied !"
endif


Shawn.