CreateAlias

Creates a file system alias.

Synopsis

Item CreateAlias( char *aliasPath, char *realPath )

Description

This function creates an alias for a file. The alias can be used in place of the full pathname for the file. Note that the file system maintains separate alias entries for each task.

Arguments

aliasPath
The alias name.
realPath
The substitution string for the alias.

Return Value

The function returns the item number for the file alias that is created, or a negative error code if an error occurs.

Implementation

SWI implemented in file folio V20.

Associated Files

filefunctions.h

See Also

OpenDiskFile(), OpenDiskFileInDir()