Hello, $SubList = _FileListToArray3($drv & $client, "*", 2, 1, 1, "CS|DP", 1) I need to filter directoris CD and DP and also parent directory of CS and DP, is it possible somehow? Do you have any idea? Cpuld you please help? thanks s I don't need the underlined dirs example d:\client1 d:\client1\cs d:\client1\dp d:\client2\ d:\client2\cs d:\client2\dp d:\specwork\ d:\specwork\client3 d:\specwork\client3\cs d:\specwork\client3\dp d:\specwork2 d:\specwork2\client4 d:\specwork2\client4\cs d:\specwork2\client4\dp