max file path

  • Thread starter Thread starter Tester
  • Start date Start date
T

Tester

Hi there,
What is max file path for a file if accessed locally or through a
server share? Thanks, Calin
 
Tester,

255 chars + 1 (the '+1' is a null terminating character)

In coding it's usual practise to allow 260 spaces for the buffer.
 
260 characters. 4 characters are use by the following:

- Driveletter
- Colon
- Backslash
- Ending Nul Charater

That leaves 256 character for the rest of the path:

d:\<256 chars>nul

John
 
Back
Top