SetCurrentDirectoryA
Changes the process current directory.
Module: Windows
Microsoft documentation: SetCurrentDirectoryA
Signature
rux
func SetCurrentDirectoryA(pathName: *const char8) -> bool32;pathName must be a null-terminated ANSI path. Returns nonzero on success. The current directory is process-wide state, so changing it can affect other threads and relative-path operations.
See also
GetCurrentDirectoryA— retrieve the current directoryFilesystem— filesystem API overview