Whenever we create any new file in MS-DOS then by default it creates directories like “.” and “..”. What are these directories and how is it helpful to the operating system? Also is there any way to delete them?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The “.” directory is a pointer to the directory it resides in.
The “..” directory is a pointer to the parent directory.
Examples
C:\Temp\.\SomeFolder\is the same directory asC:\Temp\SomeFolder,C:\Temp\..\SomeFolder\is the same directory asC:\SomeFolder\.EDIT
An absolute path in DOS is one which is “rooted” (i.e. it starts with the volume). An example will be
A relative path is one which is dependent on the current directory. For example: