|
PRAGMA PROGRAM REFERENCE MANUAL
|
Index
|
All Operation
|
|
Expand All ADDENDUM
|
SET EXTERNAL FILE PATH
|
XFP
|
Standard Verb
|
File Access Operation
|
Target =
|
Sets the directory where all the files reside. When doing a SET EXTERNAL FILE PATH a CLOSE ALL FILES is first performed. There can be only one active path open at a time per set of file words (internal or external). The default is no path (current directory) or the EXTERNAL FILE PATH = set via PRAGMA.DES.
|
SET EXTERNAL FILE PATH to the directory PATHNAME PATHNAME is joined as is to the beginning of the file short name. Normally, this path should end with a slash. Under DOS and OS/2 you may also include a drive letter. When PATHNAME is a null string (""), the current directory is selected.
|
SEE ALSO: SET FILE PATH / CLOSE ALL FILES
|
The standard verbs SET FILE PATH (FP), and SET EXTERNAL FILE PATH (XFP) allow you to set the directory where the files reside.
The first thing these two verbs do is a CLOSE ALL FILES. All records are released, etc.
Then the path specified is selected as the directory where files will be opened. There is a separate path for 'internal' file words and 'external' file words.
There can be only one active path open at a time per set of file words ('internal' or 'external'). Multiple paths at once are not possible, as the files are all closed when selecting a new path.
This path is joined as is to the beginning of the file short name. Normally, this path should end with a slash. Under DOS and OS/2, you may also include a drive letter. The default is no path (current directory). The current directory may also be selected with these verbs by giving a null string as the path (SET FILE PATH to the directory "").
In addition, a default path for 'internal' and 'external' files may be set via PRAGMA.DES. Two new strings are used to do this; 'INTERNAL FILE PATH = ' and 'EXTERNAL FILE PATH = '.
|
|
|
CustomWare® is a registered trademark of CustomWare Designs, Inc. All rights reserved.
CustomWare® is a registered servicemark of CustomWare Designs, Inc. All rights reserved.
All images and designs on this web site are copyrighted© 2021.
v
t
|
|