how to copy a .doc file from my desktop and save it by a different name?

1 次查看(过去 30 天)
Hi all,
I got this word file that I need to save it multiple times with different names,please help.

采纳的回答

KSSV
KSSV 2016-5-26
You can use copyfile('source','destination') ; source is the file name which you want to copy into destination. You can give the information along with the fullpath.
  4 个评论
Sagi
Sagi 2016-5-26
编辑:Sagi 2016-5-26
let's say that the doc's name is 'DOC'- that name appears as a file name and also inside the document in it's header. Now,I want to save the doc with a different file name ,let's say 'DOC1' and I need that the name inside the document's header will change as well.
KSSV
KSSV 2016-5-27
Sagi Till copying multiple times with different names is okay..But I have no clue on changing the header name.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by