How to limit the depth of a folder search

Got a problem you cannot solve? Try here.
Post Reply
ctusch
Posts: 3
Joined: Thu Aug 05, 2010 2:55 am

How to limit the depth of a folder search

Post by ctusch »

Hello,

I want to search for a specific folder on all local hard disks but only up to a maximum hierarchy depth of 2 or 3. How can I do this in InstallAware script?

Thanks for any hints!
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: How to limit the depth of a folder search

Post by mills »

Find All Files will be the closest, however you cannot limit folder depth.

Do you know of a way this can be done without InstallAware? If you can search in this manner from command line, you may be able to use Run Program or Run Program As. You may need to write your own DLL to provide this functionality and use Call DLL Function.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply