Setting The Path
Peter Hansen
peter at engcorp.com
Mon Sep 11 23:49:16 EDT 2000
Alex Martelli wrote:
>
> Yes. After the closing %, add a semicolon, then the full path to
> the location of python's exe, i.e. in your case
>
> C:\ProgramFiles\Coding\Python
>
> Note that it's likely you have a space between "Program" and "Files",
> which is trouble for some programs. So use the shortform instead:
>
> C:\Progra~1\Coding\Python
>
> (it's likely that Progra~1 is the shortform of "Program Files", but
> I can't guarantee it; use the DIR command on C:\ in a command
> box to check).
DIR alone is not enough on Windows Nice Try (NT). Use "DIR /X", which
according to the output of "DIR /?" works like this:
/X This displays the short names generated for non-8dot3 file
names. The format is that of /N with the short name inserted
before the long name. If no short name is present, blanks are
displayed in its place.
--
-------------------------------------------
Peter Hansen, P.Eng.
More information about the Python-list
mailing list