Working Across Folders

Can you guys explain the how to Work Across Folders with an example?
Using this

Path starting with / - starts from the root folder of the tree the ambient folder is part of.
Path starting with . - starts from the ambient folder.
Path starting with .. - starts one level up in the hierarchy of the ambient folder for each .. in the path (e.g. ../ for one level up, ../../ for two levels up in the hierarchy).

Hi @amol.kakde

  1. Path starting with / - starts from the root folder:

    • Example: /RootFolder/Subfolder/FileName.txt
    • In this example, the file path starts from the root folder, which is the highest level in the folder hierarchy.
  2. Path starting with . - starts from the ambient folder:

    • Example: ./CurrentFolder/AnotherSubfolder/FileInCurrentFolder.txt
    • In this example, the file path starts from the current or ambient folder where the process is running.
  3. Path starting with .. - starts one level up in the hierarchy:

    • Example: ../ParentFolder/FileInParentFolder.txt
    • In this example, the file path starts from the parent folder, one level up from the current or ambient folder.
  4. …/…/SharedFolder/CommonFile.txt: This path starts two levels up in the hierarchy from the current folder and then navigates to a shared folder to access a common file.

Hope it helps!!