fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
OUTPUT DIRECTORY
Syntax:
OUTPUT [ { FILE NAME | FILENAME } ] DIRECTORY [:] <directory>
Function:
Specifies the directory to which all Fortran output files are to be written. Primary and INCLUDE files may be directed to different directories by the commands PRIMARY OUTPUT DIRECTORY and INCLUDE OUTPUT DIRECTORY. Files may be directed to the same directories as the input files by the command KEEP OUTPUT DIRECTORIES. It is common practice to specify KEEP OUTPUT DIRECTORIES and then to redirect the base output directory with the command EDIT OUTPUT FILE NAMES, keeping the direcory strucure below the base. If KEEP OUTPUT DIRECTORIES is specified but fpt generates new files which do not correspond to any input files the command OUTPUT DIRECTORY specifies the directory to which these files are written.
Please note that:
are written to the current directory. This command redirects only the Fortran output files.
The output directory must already exist. It will not be created by fpt unless the command CREATE MISSING OUTPUT DIRECTORIES has been made.
Directory names are written in the file specifications in INCLUDE statements in response to the command WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS.
Where to Use this Command
Operating system command line | Yes |
Configuration file, config.fsp | No |
Specification (fsp) files, *.fsp | Yes |
Interactively, to FPT> prompt | No |
Interactive command files | No |
Embedded in the Fortran code | No |
Default
The current directory.
See Also
WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.