Take a Guess to Win Windows 10 Pro Key!
previous arrow
next arrow
Slider

How To Quickly Get Folder Names

Date:2021-9-9 Author:Sandra

If we need to get a lot of folder names quickly, how to do that?  Let take the months as an example.

There are 12 folders named after months in the Test folder.

How To Quickly Get Folder Names

Now we create a new text document and name it. Open and type [Dir> 1.text] in this document, remember to save it.

How To Quickly Get Folder Names

Chang its suffix [text] into [bat].

How To Quickly Get Folder Names

Of course, we hit Yes.

How To Quickly Get Folder Names

You will find the original text document type has been changed to Windows Batch File.

Now we double-click it to run. There will appear a new text document.

How To Quickly Get Folder Names

Just open it. This contains all the names of the folders. That’s easy, right?

How To Quickly Get Folder Names
Copyright Statement: Regarding all of the posts by this website, any copy or use shall get the written permission or authorization from Myofficetricks.

Leave a Reply

Your email address will not be published. Required fields are marked *