max file path

T

Tester

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

Newbie Coder

Tester,

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

In coding it's usual practise to allow 260 spaces for the buffer.
 
J

John John

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 max file path 2
max file path setting 5
DMA enable 9
XP file access 2
How can i ignore file access from system32 folder? 3
XP parallel install 2
Cannot Set Path From Command Line 3
manual dialing 1

Top