Listing files via MS-DOS.

Some ways of listing the files in a folder or a partition using CMD (Command Prompt / MS-DOS).
First, the simplest method to access MS-DOS, Windows XP users:
1. Click on the Start bar (or directly press the "Windows")
2. Click the checkbox "Run ..."
3. Type "cmd" and press "Enter".

Listing files in a folder or a partition.

To list the files in a folder / directory using the command "DIR". DIR displays the contents of the current folder. If the number of files in the current folder is very large and exceeds the screen size of your order listing them can be summarized in a single page, using the command DIR / P . Listing files will be stopped if the page is full, continue being done by pressing any key. (Press any key to continue...) [I hope I do not have "Turn Off Computer" on the keyboard! :)]. "DIR / P" shows both files in the current directory, and data about them. Date and their size. To ignore the info file, use the command DIR / P / W . Strictly List files in the current folder name. Listing the contents of a directory in alphabetical order may be requested by the command: DIR / A / P . DIR / A / P / W , Lists alphabetically, ignoring information about files (date and size).
Print commands, you see the most useful are those that allow you to write content directory in a text file and / or print.
DIR D: / W> PRN - List Print content partition D: (Folder and files, without being included subfoderele folders and files in the partition).

Example:
If we want to print the o list of names of songs located on partition D: folder My Music , MS-DOS command syntax will be:

DIR D: \ My Music / W> PRN

DIR> LIST.TXT = Make a file. Txt (text) file containing the current folder name. For the above example, the command syntax is: DIR D: \ My Music / W> lista_melodii.txt . ;)

Listing files via MS-DOS.

About the author

Stealth

Passionate about everything that means gadgets and IT, I write with pleasure stealthsettings.com from 2006 and I like to discover with you new things about computers and operating systems macOS, Linux, Windows, iOS and Android.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment is processed.