Effacer les filtres
Effacer les filtres

dir returning different values

2 vues (au cours des 30 derniers jours)
Newman
Newman le 6 Juil 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 ?

Réponse acceptée

José-Luis
José-Luis le 6 Juil 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

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by