File Management
These commands and functions manage and manipulate disk files.
Use |
To |
---|---|
Add a backslash to a path expression. |
|
Place information about files into an array and then return the number of files. |
|
Change the default Visual FoxPro directory to the directory you specify. |
|
Close various file types. |
|
Duplicate any type of file. |
|
Create a view file from the Visual FoxPro environment. |
|
Return the current directory. |
|
Return a file name with a new extension if one does not already exist. |
|
Delete a file from a disk. |
|
Display information about the files in a directory. |
|
Display information about files. |
|
Return the number of bytes available on the default or specified disk drive or volume. |
|
Execute a Visual FoxPro program or procedure. |
|
Return the type of the specified drive. |
|
Open the Visual FoxPro editor and, optionally positions the cursor. |
|
Erase a file from disk. |
|
Return the last modification Date or DateTime for a file. |
|
Return the last modification time for a file. |
|
Locate the specified file. |
|
Return the contents of a file as a character string. |
|
Save table and index changes to disk. |
|
Return a string with the old file name extension replaced by a new extension. |
|
Return a file name with a new path name substituted for the old one. |
|
Return the path to a specified file or the path relative to another file. |
|
Display the Open dialog box and returns the name of the file you chose. |
|
Display the Open Picture dialog box and return the name of the picture file you chose. |
|
Return true (.T.) if an expression evaluates to a null value; otherwise, ISNULL( ) returns false (.F.). |
|
Return the drive letter from a complete path. |
|
Return the file name portion of a complete path and file name. |
|
Return the file name portion of a complete path and file name. |
|
Return the path portion of a complete path and file name. |
|
Return the stem name (the file name before the extension) from a complete path and file name. |
|
Display table or environment information without pausing the main Visual FoxPro or user-defined window. |
|
Locate a file on disk and returns the file name with its path. |
|
Create a new directory or subdirectory on disk. |
|
Open an editing window so you can modify or create a program file. |
|
Open an editing window so you can modify or create a text file. |
|
Return a non-null value from two expressions. |
|
Opens a database. |
|
Invoke the Save As dialog box and return the file name you specify. |
|
Remove a directory or folder from disk. |
|
Change the name of a file to a new name. |
|
Direct screen or printer output created with ?, ??, DISPLAY, or LIST to a text file. |
|
Specify the default drive and directory. |
|
Specify if CDX( ), DBF( ), MDX( ), and NDX( ) return the path in a file name. |
|
Specify a path for file searches. |
|
Display a dialog box before overwriting an existing file, or evaluate table or field rules, default values, and error messages when changes are made in the Table Designer or with ALTER TABLE. |
|
Open or close the Data Session window or restores the Visual FoxPro environment from a view file. |
|
Write the contents of a character string to a file. |
|
Return a legal file name that can be used to create temporary files. |
|
Return the name of the first file in alphabetic order by file name and extension, that matches a file name skeleton. |
|
Returns the minimum path relative to the current or specified directory for a specified file. |
|
Display the contents of a file. |