Sign in to follow this  
Followers 0
ffdshow

Rename file

4 posts in this topic

#1 ·  Posted (edited)

Hi!

Is possible to copy a file and then rename that copy?

For example: D:\Option.txt to C:\Option1.txt

Edited by ffdshow

Share this post


Link to post
Share on other sites



FileCopy ("D:\Option.txt","C:\Option1.txt")

Share this post


Link to post
Share on other sites

use this

FileMove("D:\Option.txt", "C:\Option1.txt")
He wants to just copy it. This would move it and rename it. So evilertoaster answer is what he wants, me thinks.

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  
Followers 0