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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!