S
stainless
Given I have a folder root called C:\Users\, I want to get a list of
all the sub-folders directly under this C:\Users| folder that contain
a full stop (.), but only at the first sub-folder level.
Using the example folder structures below:
C:\Users\philip.marlowe\monkeynuts
C:\Users\philip.marlowe\zebra.stripes
C:\Users\Jethro\popular.front
C:\Users\john.smith\monkeynuts
C:\Users\john.smith\cabbage
C:\Users\boris.johnson\
C:\Users\femor
C:\Users\full.stops.found
My search should retrieve:
C:\Users\philip.marlowe\
C:\Users\john.smith\
C:\Users\boris.johnson\
C:\Users\full.stops.found
This is only the sub-folders immediately below C:\Users\ that contain
the full stop
I am struggling with the code for this even though I know it should be
simple. Any help appreciated.
Cheers
Mark
all the sub-folders directly under this C:\Users| folder that contain
a full stop (.), but only at the first sub-folder level.
Using the example folder structures below:
C:\Users\philip.marlowe\monkeynuts
C:\Users\philip.marlowe\zebra.stripes
C:\Users\Jethro\popular.front
C:\Users\john.smith\monkeynuts
C:\Users\john.smith\cabbage
C:\Users\boris.johnson\
C:\Users\femor
C:\Users\full.stops.found
My search should retrieve:
C:\Users\philip.marlowe\
C:\Users\john.smith\
C:\Users\boris.johnson\
C:\Users\full.stops.found
This is only the sub-folders immediately below C:\Users\ that contain
the full stop
I am struggling with the code for this even though I know it should be
simple. Any help appreciated.
Cheers
Mark