Switching Between Folders

This should be basic, but it is not working as I think it should.  I need to move within the project from one folder, down to a child folder, then back up to the aparent folder and then go to another oflder on the same level and then dig down through the child folders each time storing or copying modules within each folder.  The moves between folders is done using variable names, not string text as the functions used are performing the repetitive tasks, only the module name and folder names change each time.  (By 'moving' to these folders, it is implied to mean 'make current')

For example, I am in project "XYZ" with two folders underneath ("F1" and F2").  Under F1 there are folders "F1a" and "F1b"; under folder F2 there are folders "F2a" and F2b"; and under F2a there is "F2aa".

Would someone please show me what is the code to do the following (again, using variable names for the folder in each case).  

1. Drill down to anyone of these folders

2. How to move back up onel level at a time

3. How to move back up to the top (root project level) when currently multiple layers down.

Thanks in advance.  I am spending way too much time trying to resolve this one and I am sure that it is something simple.


Mike.P.Adams - Fri Feb 27 10:25:51 EST 2015

Re: Switching Between Folders
GregM_dxler - Fri Feb 27 10:51:11 EST 2015

Hello,

Smartdxl has a nice script that will do what you want.  Uses recursive techniques to drill down folders.

http://www.smartdxl.com/content/?p=438

Hope this helps,

Greg

Re: Switching Between Folders
Martin_Hunter - Thu Apr 09 07:20:53 EDT 2015

You may also find the commands getParentFolder and getParentProject helpful to move up one level or to the root.

- Martin