We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Create/List empty folders, but not the entire tree


I can create a set of empty directories that mirrors all the features on a existing tree (but intentionally excludes the actual files contained therein)
https://www.winhelponline.com/blog/how-to-copy-folder-structure-without-copying-files/

I can also create a list of the Path Statements of all the directories/sub-directories (intentionally excluding the files)
https://www.karenware.com/powertools/karens-directory-printer
https://print-folders.com/

..but I was wondering - is there a way to do those two things }(1) create empty directories and (2) list names/paths of folders (for folders only, not files)} but LIMITING THE SCOPE TO ONLY INCLUDE THE FIRST (or, say, FIRST&SECOND) levels of nesting/hierarchy/indentation?

For example, only returning folders that are in Subdirectory Levels 1&2, not SubDirectory Level 3


The solution would
-Preferably support UTF characters
-Preferably preserve the Creation Date of the original folders
-Windows 10 Home.

TA



Comments

Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354K Banking & Borrowing
  • 254.3K Reduce Debt & Boost Income
  • 455.2K Spending & Discounts
  • 247K Work, Benefits & Business
  • 603.6K Mortgages, Homes & Bills
  • 178.3K Life & Family
  • 261.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.