dir returning different values

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by