i have a question in windows folder permissions and the hierarchy.

say i have a folder C:Report\Level 1

what is the parent folder is it level 1 or Report ?

thankx

in a sense neither the, parent is actually the whole address to

C:REPORT

and the grandparent is C:

you jump back or forwards (parent, Child) by one item usually before or after a /
M

What is the parent folder of what? First of all the actual fully qualified path is not

C:Report\Level 1

it is

C:\Report\Level 1

So "C:\Report" is the parent folder of "C:\Report\Level 1" and "C:\" is the parent of "C:\Report"

The first backslash is important. Let's take an example. Let's say I enter the following commands:

C:
cd \Windows\System32
D:

I am now on the D drive. If I now type the following command

dir C:Reports

Windows will try to list the files in C:\Windows\System32\Reports. When you leave out the first backslash Windows fills in the last current folder on that drive.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.