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.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Feb 19, 2012, 9:19 AM
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.
RaysefoPosted Feb 19, 2012, 1:08 PM