Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy And Rename at the Same time

Status
Not open for further replies.

ricardo1023

Programmer
Mar 23, 2008
54
US
Is there any way to copy the *.txt files with robocopy and rename them with .eml in just one command? What about if we have Japanese characters on the file names?

Thank you
 
Not with robocopy.

You can do it with copy or xcopy ...
ie xcopy <sourcepath>\*.txt <destpath>\*.eml


Don't know about the Japanese characters, though.

Jock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top