File Management Functions

These functions provide a comprehensive set of operations for managing files and directories within the Windows operating system.

CreateFile

Creates or opens a file or I/O device. It returns a handle that can be used to access the file.

Learn More →

ReadFile

Reads data from a file or I/O device into a buffer.

Learn More →

WriteFile

Writes data to a file or I/O device from a buffer.

Learn More →

CloseHandle

Closes an open object handle. This applies to file handles as well.

Learn More →

SetFilePointer

Moves the file pointer (file offset) for the specified file.

Learn More →

DeleteFile

Deletes an existing file.

Learn More →

MoveFile

Moves an existing file or directory from one location to another.

Learn More →

CopyFile

Copies an existing file to a new location.

Learn More →

CreateDirectory

Creates a new directory.

Learn More →

RemoveDirectory

Removes an existing empty directory.

Learn More →

GetFileSizeEx

Retrieves the size of a specified file.

Learn More →

FileTimeToLocalFileTime

Converts a file time in Coordinated Universal Time (UTC) to local time.

Learn More →