ProcScript for File System Management

Uniface provides ProcScript statements and functions for managing local files and directories

ProcScript Statements for Local File Management
Using Assignment File Redirections Ignoring Assignment File Redirections Description
filebox   Displays a file selection box.
dircreate ldircreate Create the specified directory.
dirdelete ldirdelete Delete the specified directory.
dirrename ldirrename Rename the specified directory.
filecopy lfilecopy Copy the specified file to the target location.
filedelete lfiledelete Delete the specified file.
filedump lfiledump Copy the contents of the source object to the specified file.
fileload lfileload Copy the contents of the specified file into the specified field or variable.
filemove lfilemove Move the specified file to the target location
filerename lfilerename Rename the specified file within the same directory.
flush lflush Complete a file management transaction for the specified open zip archive, then close the file.
ProcScript Functions for Local File Management
Using Assignment File Redirections Ignoring Assignment File Redirections Description
  $ldir Returns the name of the working directory.
$dirlist $ldirlist Returns the contents of the specified directory.
$fileexists $lfileexists Returns a value that indicates whether the specified file or directory exists.
$fileproperties $lfileproperties Returns the properties of the specified file or directory.

Related Topics