Windows 10 Folder Path "\..\..\"

Deuce

New Member
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:
Yeah a single . means present working directory and .. means parent with every reoccurring .. means up one more level
 
Back
Top