Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Discover comprehensive solutions to your questions from a wide network of experts on our user-friendly platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

How can we display outputs of DIR one screenful at a time? There are at least two different ways, and either one is acceptable.

Sagot :

Answer:

DIR has a /p option to paginate any output.

dir /p

Will give you one screen length at a time.

I believe you can use that simultaneously with /w if you want to fit more file names on the screen, at the loss of additional data like file size, type, etc.