Guest erik Posted January 23, 2005 Share Posted January 23, 2005 sorry, i am a newby but : how do you rename a file ? regards, Erik Link to comment Share on other sites More sharing options...
Guest erik Posted January 23, 2005 Share Posted January 23, 2005 sorry found it: FileMove("C:\test.txt", "C:\test.txt.old") or is there another way ? Link to comment Share on other sites More sharing options...
t0ddie Posted January 23, 2005 Share Posted January 23, 2005 you can make a batch file, and use the dos command "ren" but what for, filemove works great Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
buzz44 Posted January 23, 2005 Share Posted January 23, 2005 i guess if u wanted u could use FileCopy and change the destination and then delete the old file eg #include <file.au3> FileCopy("C:\TestOne.txt", "C:\TestTwo.txt") FileDelete ("C:\TestOne.txt") hope that helps qq 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