Jump to content

FileInstall and @UserProfileDir


Guest
 Share

Recommended Posts

I need to copy some files to a folder called "Backup" into the users profile before executing a script. I planned on doing this using the FileInstall option so it would be contained within an exe and would allow the files to be overwritten if I update the autoit executable.

How would I go about coding this? I have tried:

FileInstall ( "B:\Utilities\Backup_Script\robocopy.exe", "@UserProfileDir", 1)
FileInstall ( "B:\Utilities\Backup_Script\Backup.bat", "@UserProfileDir" , 1)

But it isn't placing any files in the root of my profile.

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...