RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.SetCurrentDir Function

Sets the current directory.

Pascal
function SetCurrentDir(const Dir: string): Boolean;
C++
Boolean SetCurrentDir(const AnsiString Dir);

SysUtils

The SetCurrentDir function sets the current directory. The return value is true if the current directory was successfully changed, or false if an error occurred. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!