0

I have following directory structure

dir1
   dir2
     dir3
     dir4    
       file1
     dir5
       file2

I want to access file1 that is in directory4 in file2 that is in directory5. I have tried using absolute as well as relative paths.

Could anyone help me how to access this file ?

0

1 Answer 1

1

if I understand the question well, you have this directory-structure:

| dir1
| dir2
| dir3
| dir4
|   >> file1
| dir5
|   >> file2

In that case, you can use ../dir4/file1

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.