DietCoke Posted April 16, 2012 Share Posted April 16, 2012 Hi,I've tried a number of different options in trying to copy over 4 files to the Program Files directory, when run within Windows 7. I have turned UAC down to the lowest level, with no success. I've also tried adding:#RequireAdmin#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministratorNeither of which seem to be doing anything. I'm receiving no prompts, etc. I have confirmed that the locations are correct and I'm using fully qualified paths. Any suggestions?Thanks in advance! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 16, 2012 Moderators Share Posted April 16, 2012 Hi, DietCoke. Perhaps you could explain a little more, or post a piece of code that is not working for you, so we can better assist you. This snippet works just fine for me. FileCopy(@ScriptDir & "Restore User State.xml", @ProgramFilesDir & "Restore User State.xml", 1) "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now