dir returning different values

조회 수: 2 (최근 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 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