📎 AI Summary:
This thread discusses the meaning of the ".." notation in file paths, with explanations clarifying that ".." refers to the parent directory and "." indicates the current directory. The original poster inquires about this notation in relation to an old VB6 project, and a Microsoft MVP confirms that ".." navigates to the folder above the current one. The overall sentiment is appreciative, with the original poster thanking the contributors for the clear explanations.

Deuce

New Member
Joined
Jun 25, 2021
Messages
2
Thread Author #1
Could you please let me know what the slash and period "\..\..\" notation mean in a folder path:

C:\Users\Username\Documents\Project\..\..\SubProject\Module.bas

as I'm trying to understand and old VB6 project that errors out on the path?

Maybe VB is not listing the full path so as to fit at least some of the path in the error box.

I dunno.

Thank you.

D. Reid
Sactown, USA

Question Answered:

".." is just a shorthand of saying "the folder above this"

So if you were at a command line saying:

c:\users\deuce\pictures

and you requested to change to the ".." directory instead, it would move you to the "deuce" folder. It's just a quick way to refer to the parent without typing it out

Shawn "Cmdr" Keene | Microsoft MVP - Windows Insider | CmdrKeene.com | tweet me: @CmdrKeene
Microsoft MVPs are independent experts offering real-world answers. Learn more at mvp.microsoft.com.
 

Last edited:

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
Yeah a single . means present working directory and .. means parent with every reoccurring .. means up one more level
 

Solution