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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

XP file access 2
XP max file path 2
max file path setting 5
error 12317 5
XP admin shares 1
slow access 1
DMA enable 9
Cannot Set Path From Command Line 3

Back
Top