Change file extension from .dat to .csv

17 ビュー (過去 30 日間)
bugguts99
bugguts99 2011 年 4 月 18 日
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?

採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 4 月 18 日
help movefile
help copyfile
or
!ren *.dat *.csv
  2 件のコメント
Walter Roberson
Walter Roberson 2011 年 4 月 18 日
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 2011 年 4 月 19 日
!ren *.dat *.csv works wonders. Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by