dir returning different values

1 回表示 (過去 30 日間)
Newman
Newman 2016 年 7 月 6 日
回答済み: José-Luis 2016 年 7 月 6 日
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 ?

採用された回答

José-Luis
José-Luis 2016 年 7 月 6 日
'.' 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 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by