Aveedesk Posted October 15, 2005 Share 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 Link to comment Share on other sites More sharing options...
ripken204 Posted October 15, 2005 Share 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 Link to comment Share on other sites More sharing options...
Aveedesk Posted October 15, 2005 Author Share Posted October 15, 2005 Thank you Rip. On autoit3 site now. Link to comment Share on other sites More sharing options...
ripken204 Posted October 15, 2005 Share 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 Link to comment Share on other sites More sharing options...
Aveedesk Posted October 15, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
ripken204 Posted October 15, 2005 Share Posted October 15, 2005 yes i amlook in the help file for au3 and search for the move command Link to comment Share on other sites More sharing options...
Aveedesk Posted October 15, 2005 Author Share Posted October 15, 2005 yes i amlook in the help file for au3 and search for the move commandThank you................ Link to comment Share on other sites More sharing options...
Aveedesk Posted October 15, 2005 Author Share Posted October 15, 2005 ripken204:I must be blind, can't find the move command. Link to comment Share on other sites More sharing options...
Synapse Posted October 15, 2005 Share 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. Link to comment Share on other sites More sharing options...
Aveedesk Posted October 15, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Synapse Posted October 15, 2005 Share Posted October 15, 2005 np, glad i could help Link to comment Share on other sites More sharing options...
totoymola Posted October 17, 2005 Share Posted October 17, 2005 (edited) For simple file renaming tasks, I personally prefer batch files, just like Bi0haZarD Edited October 17, 2005 by totoymola Link to comment Share on other sites More sharing options...
prathapml Posted October 17, 2005 Share Posted October 17, 2005 * topic moved Link to comment Share on other sites More sharing options...
Aveedesk Posted October 17, 2005 Author Share Posted October 17, 2005 Moved to........................ Link to comment Share on other sites More sharing options...
gunsmokingman Posted October 17, 2005 Share 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 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