|
VMS Help CREATE, /DIRECTORY, Examples *Conan The Librarian |
1.$ CREATE/DIRECTORY/VERSION_LIMIT=2 $DISK1:[ACCOUNTS.MEMOS]
In this example, the CREATE/DIRECTORY command creates a
subdirectory named MEMOS in the ACCOUNTS directory on $DISK1.
No more than two versions of each file can exist in the
directory.
2.$ CREATE/DIRECTORY/PROTECTION=(SYSTEM:RWED,OWNER:RWED,GROUP,WORLD) -
_$[KONSTANZ.SUB.HLP]
In this example, the CREATE/DIRECTORY command creates a
subdirectory named [KONSTANZ.SUB.HLP]. The protection on the
subdirectory allows read (R), write (W), execute (E), and
delete (D) access for the system and owner categories, but
prohibits all access for the group or world categories.
3.$ CREATE/DIRECTORY DISK2:[GOLDSTEIN]
In this example, the CREATE/DIRECTORY command creates a
directory named [GOLDSTEIN] on the device DISK2. Special
privileges are required to create a first-level directory.
4.$ CREATE/DIRECTORY [HOFFMAN.SUB]
$ SET DEFAULT [HOFFMAN.SUB]
In this example, the CREATE/DIRECTORY command creates a
subdirectory named [HOFFMAN.SUB]. This directory file is placed
in the directory named [HOFFMAN]. The command SET DEFAULT
[HOFFMAN.SUB] changes the current default directory to this
subdirectory. All files subsequently created are cataloged in
[HOFFMAN.SUB].
5.$ CREATE/DIRECTORY [BOAEN.SUB1.SUB2.SUB3]
In this example, the CREATE/DIRECTORY command creates a
top-level directory ([BOAEN]) and three subdirectories
([BOAEN.SUB1], [BOAEN.SUB1.SUB2], and [BOAEN.SUB1.SUB2.SUB3]).
|
|