Change file extension from .dat to .csv

14 visualizaciones (últimos 30 días)
bugguts99
bugguts99 el 18 de Abr. de 2011
Hi there,
Please excuse if this is a naive question...I have searched the web all day with no joy. I have quite a large number of ASCII .dat files of mixed string and numeric data and I would like to change the file extension to .csv. Is there a simple way of doing this?

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 18 de Abr. de 2011
help movefile
help copyfile
or
!ren *.dat *.csv
  2 comentarios
Walter Roberson
Walter Roberson el 18 de Abr. de 2011
The !ren option would at best work on Windows systems.
I also recommend the FAQ: http://matlab.wikia.com/wiki/FAQ?cb=4562#How_can_I_process_a_sequence_of_files.3F
bugguts99
bugguts99 el 19 de Abr. de 2011
!ren *.dat *.csv works wonders. Thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by