webxt Posted January 30, 2007 Share Posted January 30, 2007 Hello guys! I have a question, how can I create a copy of current file in other directory ? For example I have a msgbox function MsgBox(0, "Hello..", "Welcome!") and.. when i execute this create a copy in D:\directory\msgbox.au3 It is possible ? Regards, webxt Link to comment Share on other sites More sharing options...
Krol Posted January 30, 2007 Share Posted January 30, 2007 FileCopy(@ScriptFullPath,"D:\directory\msgbox.au3") Link to comment Share on other sites More sharing options...
webxt Posted January 30, 2007 Author Share Posted January 30, 2007 Thank you for fast reply, it's working. Link to comment Share on other sites More sharing options...
i542 Posted January 30, 2007 Share Posted January 30, 2007 FileCopy(@ScriptFullPath,"D:\directory\msgbox.au3") Try and this! MsgBox(0,"Hello","Welcome...") FileCopy(D:\ThingToCopy.txt,"D:\directory\CopiedThing.txt") You must have a text document ThingToCopy in D:. i542 I can do signature me. 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