Jump to content

Recommended Posts

Posted (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 .dll

Thank you in advance.

Edited by Aveedesk

Posted

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.bak

2.move file.old to file.dll

3.move file.dll.bak to file.old

Posted
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.bak

2.move file.old to file.dll

3.move file.dll.bak to file.old

I'm sorry, are talking about the autoit3 software?

Thanks.

Posted

don't need autoit to do this.. althought autoit is a very useful tool.

in your batchfile just do:

rename test.old test.dll1

rename test.dll test.old

rename test.dll1 test.dll

and replace the name of the files with the ones you got.

Posted
don't need autoit to do this.. althought autoit is a very useful tool.

in your batchfile just do:

rename test.old test.dll1

rename test.dll test.old

rename test.dll1 test.dll

and replace the name of the files with the ones you got.

Bi0haZarD: Thank you. Much appreciated.

Posted

You can also use a vbs script to rename files

Const OverwriteExisting = TRUE

Set FSO = CreateObject("Scripting.FileSystemObject")

FSO.MoveFile ("C:\test.old") , ("D:\test.new" ), OverwriteExisting

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...