Jump to content

Copy a file to a folder


Recommended Posts

  • Moderators

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

  • Developers
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

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)

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...