dir returning different values
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Newman
am 6 Jul. 2016
Beantwortet: José-Luis
am 6 Jul. 2016
Hello I have a flder in which there are 40 subfolders=[s1 s2...s40]. But when I am wrting dir in the folder location in the command window its showing all the folder and also two other elements . and ..
What does . and .. means in the case of dir ?
0 Kommentare
Akzeptierte Antwort
José-Luis
am 6 Jul. 2016
'.' is shorthand for current directory
'..' is shorthand for parent directory
You could try
cd ..
in the command line and you'll be taken one directory up
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!