Link to home
Start Free TrialLog in
Avatar of edgaregner
edgaregner

asked on

What is longest possible NT PATH statement?

What is the longest PATH statement possible in Windows NT? When you get the Path env var it seems to always be with short file names.  So at what point do the directory names in the PATH statement get ignored?  It seems to be 512 sometimes and maybe more on other NT boxes, what is the rule? NT workstation differs from server? Details, please.
Avatar of edgaregner
edgaregner

ASKER

Adjusted points to 75
MAX_PATH is not the answer. MAX_PATH refers to the maximum size of one name of a file - directory name plus file name.
ASKER CERTIFIED SOLUTION
Avatar of allym
allym

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This addresses the PATH statement in a DOS virtual machine and it addresses the PATH statement being set thru the Control Panel Applet.  I will also look at setting the PATH statement programmatically.
I am beginning to believe that there is no set maximum PATH statement.  There is a maximum environment of which the PATH statement is a part.  The article in the URL below does not explicitly state this but does lead me to this conclusion.

http://support.microsoft.com/support/kb/articles/q223/2/75.asp