Jump to content

i want to copy a file but ,,,


Recommended Posts

hi , i have a question about this line

FileCopy("AutoHotkey.exe", "%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\",9)

i want to copy it but when i run it , it create a folder in desktop , i want to copy it not to create a folder

Link to comment
Share on other sites

FileCopy("AutoHotkey.exe", "%userprofile%AppDataRoamingMicrosoftWindowsStart MenuProgramsStartupAutoHotkey.exe",1)

edit: i like how you are using autoit to copy autohotkey :P

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

FileCopy("AutoHotkey.exe", "%userprofile%AppDataRoamingMicrosoftWindowsStart MenuProgramsStartupAutoHotkey.exe",1)

edit: i like how you are using autoit to copy autohotkey :P

XD , i made the file from autohotkey so i dont want to make it again ,

thanks i tried this and it worked :

FileCopy("AutoHotkey.exe", @userprofiledir&"AppdataRoamingMicrosoftWindowsStart MenuProgramsStartup",0)

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