Amiga World Official AmigaDOS 2 Companion - eBook-ENG

Page 196

178

AmigaWorld Official AmigaDOS 2 Companion

ntmitors (dir) expansion,i of o

iU t e

fct

trashean.info%* -,

Figure 7-2 A Directory Listing

This is a listing ofthe root directory ofthe System2.0 disk. It shows an alphabetical list ofdirectoriesfollowed by a two-column list offiles.

As I mentioned before, AmigaDOS commands can accept arguments that alter what they do or how they do it. The Dir command is no exception. To dem onstrate, enter the following: DIR UTILITIES

and press Return. Here the output is different from that of the Dir command alone; it is a listing of the contents of the Utilities directory. You have modi fied the directory that is listed by the Dir command by passing it an argument — Utilities — that tells it what directory to list. If you do not pass Dir an argument, it defaults to listing the current directory. In the example above, the command — Dir — and its argument — Utilities — are separated by a space. The space character has a special function in the Shell; it is used to separate the commands and arguments you enter. For ex ample, assume you have used the New Drawer item from the Window menu to create a drawer called Word Processing Files. Now, in order to get a listing of this directory, suppose you entered DIR Word Processing Files


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.