hmmm ... the following did update only the scriptfile after modifying in folder test :

code:
shell '%ComSpec% /C xcopy /s /d c:\winnt\profiles\jpols\Desktop\test c:\test\'

Only thing I can think of is that xcopy asks you w/o you recognizing if destination is a file or a folder [Confused]

Jochen
_________________________