Changing folder's name from unknown name

17 Ansichten (letzte 30 Tage)
ori
ori am 14 Mai 2014
Kommentiert: ori am 16 Mai 2014
I want to change folder's name, but the only thing I know about the folder that it's the latest folder created in the folder where it located. How can I do it?

Akzeptierte Antwort

Honglei Chen
Honglei Chen am 14 Mai 2014
Bearbeitet: Honglei Chen am 14 Mai 2014
d = dir;
The above command returns a struct array which has a field called datenum. Each file in the current directory corresponds to an entry in the array. The latest file will have the largest datenum

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by