Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

SetCurrentDirName

Sets the directory name for the process

Declaration

Source position: amigados.pas line 1711

function SetCurrentDirName(

  const name: pCHAR

):LongBool;

function SetCurrentDirName(

  const name: string

):Boolean;

Arguments

name

  

Name of directory to be set.

Arguments

name

  

Name of directory to be set.

Description

Sets the name for the current dir in the cli structure. If the name is too long to fit, a failure is returned, and the old value is left intact. It is advised that you inform the user of this condition. This routine is safe to call even if there is no CLI structure.

See also

GetCurrentDirName

  

Returns the current directory name


Documentation generated on: 2021-07-30