Jump to content
Sign in to follow this  
alan lim

Change File Name

Recommended Posts

alan lim

Hi all,

How do I change a file name ?

Example aaa.exe to bbb.exe

Thanks

Share this post


Link to post
Share on other sites
alan lim

Thanks for your repied.

I don't want to move the file. I want to keep the file. Something like copy command but it will rename the original file name.

Share this post


Link to post
Share on other sites
scriptkitty

think of it like moving the filename only.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites
dkwokgs

Yes, It works the way as linux "mv" to rename a file.

FileCopy("c:\temp\123.doc","c:\temp\456.doc",1) ---> to keep existing file and copy to another destination but rename the file

Edited by dkwokgs

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×