Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I use the copyfile function to copy a later version of an application from a server to local machines. This always worked fine on Win XP, but now the local machines are using Win 7.
The users are now prompted for administrator credentials. How can I elevate the privileges (using code) so that the copyfile function can run without the user needing to enter admin credentials?