xvital Posted August 9, 2012 Share Posted August 9, 2012 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 More sharing options...
xvital Posted August 9, 2012 Author Share Posted August 9, 2012 i tried to change the flag to 0 , 1 and it didnt work Link to comment Share on other sites More sharing options...
jdelaney Posted August 9, 2012 Share Posted August 9, 2012 (edited) FileCopy("AutoHotkey.exe", "%userprofile%AppDataRoamingMicrosoftWindowsStart MenuProgramsStartupAutoHotkey.exe",1) edit: i like how you are using autoit to copy autohotkey Edited August 9, 2012 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 More sharing options...
xvital Posted August 9, 2012 Author Share Posted August 9, 2012 FileCopy("AutoHotkey.exe", "%userprofile%AppDataRoamingMicrosoftWindowsStart MenuProgramsStartupAutoHotkey.exe",1)edit: i like how you are using autoit to copy autohotkey 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 More sharing options...
jdelaney Posted August 10, 2012 Share Posted August 10, 2012 also, @startmenudir will get you deeper in than userprofile 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 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