DOS: Manage the formatting process
Use the DOS command to copy, rename and delete files. You can also switch encyclopedias, report files and report paths.
Syntax
DOS {
COPY file-source file-destination
RENAME file-old file-new
DELETE file-name
ENCYCLOPEDIA path-name
REPORTPATH path-name
REPORTFILE file-name
}
The path name must be 80 characters or less. If the path contains embedded spaces, enclose the entire path in quotes. For example:
DOS { ENCYCLOPEDIA "C:\SYSARCH\PROJECT 1" }
Example
The following example includes diagrams from the C:\SYSARCH\PROJECT1 encyclopedia:
DOS { ENCYCLOPEDIA C:\SYSARCH\PROJECT1 } DIAGRAM "Diagram from Project-1" { }
The following example includes reports from the REPORTS.RPT file in the C:\SYSARCH\REPORT1 directory.
DOS { REPORTPATH C:\SYSARCH\REPORT1 REPORTFILE REPORTS.RPT REPORT "Report from Report#1, REPORTS.RPT"}
The following example includes diagrams from the C:\SYSARCH\PROJECT2 encyclopedia.
DOS { ENCYCLOPEDIA C:\SYSARCH\PROJECT2 } DIAGRAM "Diagram from Project-2" { }
The following example includes reports from the PROJECTA.RPT file in the C:\SYSARCH\REPORT2 directory.
DOS { REPORTPATH C:\SYSARCH\REPORT2 REPORTFILE PROJECTA.RPT } REPORT "Report from Report#2, PROJECTA.RPT"
See also