Fabian,

definitely no bug in exist() !

3 things :

I have an NT4 SP 6a Box here and there is no Registry Value "%SystemRoot%\Profiles", except some entries starting with that in HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\ and some below the Key in question, but within subkeys named after User SID's !!!

Adding a NotePad.lnk under the path in question and setting $DUProfFile = "%SystemRoot%\Profiles\Default User\SendTo\Notepad.lnk" resulted in "+" .. so exist() is working perfect !

In your sample code you copy NTNotPad.lnk if Notepad.lnk doesn't exist in the path you specify ...

Jochen

_________________________