Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use DIR command to batch output folder name or file name

Shulou Source: shulou.com Published: 2022-06-03 07:46:01 11月15日 Update

This article will explain in detail how to use the DIR command to output folder names or file names in batches. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Method of operation: 1. Create a new notepad and enter it manually compared with "New folder".

2. New notepad, F2 "A1", Ctrl+C,Ctrl+V;F2 "A7", Ctrl+C,Ctrl+V;~~F2 "A5000", Ctrl+C,Ctrl+V. Copy the file names one by one

3. Open the command prompt, go to the "New folder" directory, and enter "DIR / B > 1.txt".

Obviously, it's easy to use DIR commands.

Let's meet the DIR command.

On "how to use the DIR command batch output folder name or file name" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.

Tags: File command folder file name article output more notepad input good practical easy content method manual article directory knowledge reference help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Huawei OPPO Reno Shulou Technology