Friday, October 5, 2007

commands dir /p, dir /w

The table of contents in DOS is called a directory and is abbreviated “DIR” and this command’s function is to list the directory of a disk. Remember that it is an internal command so it’s a needed and basic command preformed by command.com. The DIR command let’s you look for a specific file. If you type in DIR only, you get the default drive aka the last drive that you were on. In a DOS window when you see DIR in pointer arrows that are created by pressing shift and "," and shift and "."
followed by a file name such as abc this means “abc” is a folder. If after DIR you type “/p” it’s function is to pause the information on the screen by showing you a full screen full by screen full and if you press any key it will move to the next screen full of information displayed. If you type /w after DIR then you will receive a condensed version of information in 3 columns giving you only the file names without the date or time. In /w mode, anything in brackets [ ] signals it’s a folder so [abc] is a folder.

No comments: