Directory and folder are synonyms, what do you mean by "directory folder"?
If by partial paths you mean relative paths, then you can simply use the relative path to open something. The important part to remember is that the relative path by default is the working directory.