how to rename the file when the file is copied into a different directory?
please help me,

Recommended Answers

All 3 Replies

After copying u can rename ur file

not like that I mean,
disaay so I copied the file then the file will be copied to a different directory and it will automatically rename the file itself,
so far I've found some articles
Can you help?


Depends on the OS you are using... in windows you can issue the 'copy' command and give the destination a different name. So you can copy and rename in 1 command.

What OS do you have?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.