Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/deldir.refentry @ 2798:b70d93f8d7ce lwtools-port
Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors.
Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile
so that correct values would be sent to assembler when
building superdesc.asm for s(x).dd and i(x).dd descriptors.
author | drencor-xeen |
---|---|
date | Mon, 28 Jan 2013 16:13:05 -0600 |
parents | b00cf13c9f61 |
children |
rev | line source |
---|---|
136 | 1 <refentry id="deldir"> |
2 <refnamediv> | |
3 <refname>DELDIR</refname> | |
4 <refpurpose>Delete All Files In a Directory System</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>deldir</command> |
136 | 10 <arg choice="plain"> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
136
diff
changeset
|
11 <replaceable>directory name</replaceable> |
136 | 12 </arg> |
13 </cmdsynopsis> | |
14 </refsynopsisdiv> | |
15 | |
16 <refsect1><title>Description</title> | |
17 <para> | |
18 This command is a convenient alternative to manually deleting | |
19 directories and files they contain. It is only used when | |
20 <emphasis>all</emphasis> files in the directory system are to be deleted. | |
21 </para> | |
22 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
23 When <command>deldir</command> is run, it prints a prompt message like this: |
136 | 24 </para> |
25 <screen> | |
26 OS9: deldir OLDFILES | |
27 Deleting directory file. | |
28 List directory, delete directory, or quit ? (l/d/q) | |
29 </screen> | |
30 <para> | |
1500 | 31 An "l" response will cause a <command>dir -e</command> command to be run so you can |
136 | 32 have an opportunity to see the files in the directory before they |
33 are deleted. | |
34 </para> | |
35 <para> | |
36 A "d" response will initiate the process of deleting files. | |
37 </para> | |
38 <para> | |
39 A "q" response will abort the command before action is taken. | |
40 </para> | |
41 <para> | |
42 The directory to be deleted may include directory files, which | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
43 may themselves include directory files, etc. In this case, <command>deldir</command> |
136 | 44 operates recursively (e.g., it calls itself) so all lower-level |
45 directories are deleted as well. In this case the lower-level | |
46 directories are processed first. | |
47 </para> | |
48 <para> | |
49 You must have correct access permission to delete all files and | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
50 directories encountered. If not, <command>deldir</command> will abort upon |
136 | 51 encountering the first file for which you do not have write |
52 permission. | |
53 </para> | |
54 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
55 The <command>deldir</command> command automatically calls the DIR and ATTR |
136 | 56 commands, so they both must reside in the current execution |
57 directory. | |
58 </para> | |
59 </refsect1> | |
60 </refentry> | |
61 |