Hi,
I wonder if there is a way to programmatically copy an app (exe) to another location (d:\test) when this app starts???
Best Regards.
How to copy in another place???
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Feb 19, 2012, 4:19 AM EST
Notice that this only copies the executable's file to another location - it doesn't move it.
Moving it using normal C# code would be impossible because the file is locked by the operating system whilst it's executing.
RaysefoRank #4,173 · 360 reputationPosted Feb 19, 2012, 8:08 AM EST