Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Hi all,
I got this word file that I need to save it multiple times with different names,please help.

Respuesta aceptada

KSSV
KSSV el 26 de Mayo de 2016
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 comentarios
Sagi
Sagi el 26 de Mayo de 2016
Editada: Sagi el 26 de Mayo de 2016
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 el 27 de Mayo de 2016
Sagi Till copying multiple times with different names is okay..But I have no clue on changing the header name.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by