Aveedesk Posted October 15, 2005 Posted October 15, 2005 (edited) Don't know if this is the correct section.Can someone help me create a batch file that will do the following.Create a batch file one to rename .dll to .old, the other one to rename .old to .dllThank you in advance. Edited October 15, 2005 by Aveedesk
ripken204 Posted October 15, 2005 Posted October 15, 2005 have u ever played around with autoit3? if not then google it and give it a try.there is a nice detailed help guide with it
ripken204 Posted October 15, 2005 Posted October 15, 2005 once you get to learn it, you'll love it. so easy to do stuff. just have it 1.move file.dll to file.dll.bak2.move file.old to file.dll3.move file.dll.bak to file.old
Aveedesk Posted October 15, 2005 Author Posted October 15, 2005 once you get to learn it, you'll love it. so easy to do stuff. just have it 1.move file.dll to file.dll.bak2.move file.old to file.dll3.move file.dll.bak to file.oldI'm sorry, are talking about the autoit3 software?Thanks.
ripken204 Posted October 15, 2005 Posted October 15, 2005 yes i amlook in the help file for au3 and search for the move command
Aveedesk Posted October 15, 2005 Author Posted October 15, 2005 yes i amlook in the help file for au3 and search for the move commandThank you................
Aveedesk Posted October 15, 2005 Author Posted October 15, 2005 ripken204:I must be blind, can't find the move command.
Synapse Posted October 15, 2005 Posted October 15, 2005 don't need autoit to do this.. althought autoit is a very useful tool.in your batchfile just do:rename test.old test.dll1rename test.dll test.oldrename test.dll1 test.dlland replace the name of the files with the ones you got.
Aveedesk Posted October 15, 2005 Author Posted October 15, 2005 don't need autoit to do this.. althought autoit is a very useful tool.in your batchfile just do:rename test.old test.dll1rename test.dll test.oldrename test.dll1 test.dlland replace the name of the files with the ones you got.Bi0haZarD: Thank you. Much appreciated.
totoymola Posted October 17, 2005 Posted October 17, 2005 (edited) For simple file renaming tasks, I personally prefer batch files, just like Bi0haZarD Edited October 17, 2005 by totoymola
gunsmokingman Posted October 17, 2005 Posted October 17, 2005 You can also use a vbs script to rename filesConst OverwriteExisting = TRUESet FSO = CreateObject("Scripting.FileSystemObject")FSO.MoveFile ("C:\test.old") , ("D:\test.new" ), OverwriteExisting
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