http://qs321.pair.com?node_id=394216


in reply to Windows - have program replace itself

Well if you are copying the new version over the old version, this should work:

exec($0);
May the Force be with you