Luis and Alejandro,
Yes, you can use more than one path statement.
You should however keep in mind that the maximum length of the path
statement is 127 characters. This includes the characters PATH=, leaving
you effectively 122. This is a limit of the command interpreter,
COMMAND.COM.
In order to concatenate your path statements, you would use the %PATH%
parameter in all statements. For example, in your case, you could use the
following:
PATH=G:\APPL\NOTES.33
PATH=C:\PROGRA~1\NETWOR~1\MCAFEE~1;c:\Python;c:\Tcl;c:\Tcl\bin;%PATH%
This is the same as:
PATH
C:\PROGRA~1\NETWOR~1\MCAFEE~1;c:\Python;c:\Tcl;c:\Tcl\bin;G:\APPL\NOTES.33
I find it a better practice to use the %PATH% parameter at the end of each
statement. The only thing you want to watch out for is that the PATH is
searched, when Windows looks for a command, in the order that they appear in
the PATH statement. For example, if you have two files with the same name
in different directories, the one that it comes to first will be executed.
The main reason for breaking them up is that it's more readable and easier
to follow.
As Alejandro wrote, "You can also confirm which directories are in your path
by going to a DOS prompt and typing PATH. You can look at that to make sure
C:\Python is listed there."
Hope this sheds more light.
Regards,
Ken
Ken Hedges
Programmer/Analyst
Geac Publishing Systems