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

Deuce

New Member
Joined
Jun 25, 2021
Messages
2
Achievements 1
No badges yet
Problem Solver
Reliable Fixer
Answer Authority
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,998
Achievements 43
Problem Solver Reliable Fixer Answer Authority WindowsForum Expert Question Guide
News Scanner
Update Watcher
Patch Tuesday Regular
Yeah a single . means present working directory and .. means parent with every reoccurring .. means up one more level
 

Solution
Back
Top