SetCurrentDirectoryA v0.1.0
Changes the process current directory.
Package: Windows
Microsoft documentation: SetCurrentDirectoryA
Signature
func SetCurrentDirectoryA(
pathName: *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 directoryWindows— the package overview