MAX_PATH

Top  Previous  Next

Description

MAX_PATH is the maximum length of a Windows path string including the terminating NULL-byte. This value is used to allocate a buffer for reference parameters awaiting path information to be returned and to define the length of path strings used in structures. The actual value is 260. Using path strings exceeding the net length of MAX_PATH - 1 is definitely not a good idea.

Classification

Core

Quick Info

Header: windef.ch