Rackaracka Posted July 12, 2018 Share Posted July 12, 2018 This was a lot harder than i thought, how do i copy (relatively) "settings.ini" to C:\Program Files\MyProgram Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 12, 2018 Moderators Share Posted July 12, 2018 Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states: Quote Share your cool AutoIt scripts, UDFs and applications with others. Do not post general support questions here, instead use the AutoIt Help and Support forums. Moderation Team "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...
Rackaracka Posted July 12, 2018 Author Share Posted July 12, 2018 i think i am doing something wrong please help. i need to copy a relative path, test.txt to C:\Program Files (x86)\MyApplication. please help Link to comment Share on other sites More sharing options...
Earthshine Posted July 12, 2018 Share Posted July 12, 2018 post your code if you are serious about help My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted July 12, 2018 Developers Share Posted July 12, 2018 10 minutes ago, Rackaracka said: i think i am doing something wrong please help. i need to copy a relative path, test.txt to C:\Program Files (x86)\MyApplication. please help stick to your original topic please. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Belini Posted July 12, 2018 Share Posted July 12, 2018 30 minutes ago, Rackaracka said: i think i am doing something wrong please help. i need to copy a relative path, test.txt to C:\Program Files (x86)\MyApplication. please help #RequireAdmin FileCopy(@ScriptDir & "\test.txt", "C:\Program Files (x86)\MyApplication\test.txt", 9) My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
ajag Posted July 13, 2018 Share Posted July 13, 2018 #RequireAdmin FileCopy(@ScriptDir & "\test.txt", "C:\Program Files (x86)\MyApplication\test.txt", 9) works for me... Rule #1: Always do a backup Rule #2: Always do a backup (backup of rule #1) 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