News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Add style to your DIR command

Started by charleychacko, October 15, 2006, 11:55:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charleychacko

If you find yourself going to the "DOS Prompt" or "Command Prompt" to perform certain functions, it's hard not to use DIR command. Here are some "styles" you can add to your most often used command line command:

DIR C: D:

View directory of drive C and D at the same time.

DIR /S /B

Get a list of files in the current and sub directories with their full path name (directory name + file name).

DIR /X

View the short (8.3 DOS file name) and the long name of files in the current directory.

DIR /A

Display all the files in the current directory including hidden and system files.

DIR /OS

Sort files by size -- smallest first.

DIR /?

Find out even more cooler styles (well, okay, parameters) you can use with the DIR command.