Share this page

# chdir

Example: chdir | File Manipulation Functions

Changes the current directory to the given path. (Windows only)

    int chdir( const char *path);

path | The target path.

For chdir details, refer to your C language documentation.

## Return Values

This function returns zero upon success and (-1) for failure.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: