When I try to add a directory with a space in it using the ADDPATH command:
addpath C:\Program Files\
I get the following warning:
Warning: Name is nonexistent or not a directory: C:\Program.
It seems that ADDPATH does not like the space in the directory name.
Best Answer