diff -r 58ee0c60d6bf Doc/faq/windows.rst --- a/Doc/faq/windows.rst Fri Nov 02 07:34:52 2012 +0100 +++ b/Doc/faq/windows.rst Fri Nov 02 11:22:37 2012 +0100 @@ -218,10 +218,12 @@ 'foo.py'. If you'd rather be able to execute the script by simple typing 'foo' with no extension you need to add .py to the PATHEXT environment variable. -On Windows NT, the steps taken by the installer as described above allow you to -run a script with 'foo.py', but a longtime bug in the NT command processor -prevents you from redirecting the input or output of any script executed in this -way. This is often important. +On Windows NT, the steps taken by the installer as described above +allow you to run a script with 'foo.py', but a longtime bug in the NT +command processor prevents you from redirecting the input or output of +any script executed in this way. This can be fixed by modifying the +registry as described on `Microsoft support site +`_. The incantation for making a Python script executable under WinNT is to give the file an extension of .cmd and add the following as the first line::