Unc3nZureD 13 Posted May 11, 2010 (edited) Hi. How can i copy a file from a given directory to another with script? If possible i want automatic overwrite is it possible too? I tried to search in help but didn't found it. thanks! Edited May 11, 2010 by Unc3nZureD Share this post Link to post Share on other sites
Unc3nZureD 13 Posted May 11, 2010 I've got another problem. I've found the FileCopy command, but how can i solve that when i don't know the name of the source. i know only for example ?:\???\here but i need to work only at the here folder. my source is FileCopy("\Packages\ac_client.exe", "\bin_win32\") but it don't works. why? Share this post Link to post Share on other sites
hawky358 0 Posted May 11, 2010 If the script is in the "here" folder you can use the @ScriptDir macro i.e. FileCopy(@ScriptDir & "\here\ac_client.exe", @ScriptDir & "\bin_win32\") I'm not sure if that's what you mean, because if you have no idea what the name of the source is then how do you work with it, maybe you can give an example Share this post Link to post Share on other sites