Root\ User1\ Photos\ IMG_9022.JPG User2\ Downloads\ 2020\ February\ Windows.jpg July\ XY1950FP_t.jpg November\ Test.zip User3\ Software\ Calculator.exe
I suggest to make a new switch called /parentdepth (or different name) that can accept a numeric parameter. For example, /parentdepth=1 would find "User1" and "User2" folders only. /parentdepth=2 would find "Photos" and "Downloads" folders only. /parentdepth=8 would act as /p switch returning "Photos", "February" and "July" parent folders. /parentdepth might have a shortcut /pd.