It's actually a registry entry. The Windows API
MoveFileEx can create the entry, and session manager actions it pretty early in the life of the system.
What you probably want is a pre-written program to do that call: some sort of
delete_later c:\doo\be\doo\de\doo command. I'm sure they're around but I don't know a name of one.