Best way to iterate through foldes to see where you want to go?

Hello all,

When not knowing where the app is placed, and wanting to find specific folder to change to, has anyone got a routine that is fairly simple and generic?

For example if I am looking for a folder called ABC, that may be like c:\xyz\123\abc but the app is in c:\tim\456\def - what is a good way to find that?

My thought was to start where I am and look down the chain doing an instr command. But I bet there is a better more efficient way of doing this. The purpose is to allow to app to be placed anywhere and still work.

Much appreciated!