From 4d5f1a4bb98a6f1b20c61e06d78c53cef18fbbde Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 24 Mar 2019 12:12:05 -0700 Subject: [PATCH] [3.7] Replace "DOS box" with link to Windows FAQ. (GH-12390) (GH-12525) (cherry picked from commit 6661c1720ebd322e2cb6995a243e8dc6e588d931) Co-authored-by: Ned Deily --- Doc/faq/windows.rst | 2 ++ Doc/tutorial/interpreter.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index a46d4c1725a..a92ec1b52ad 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -15,6 +15,8 @@ Python on Windows FAQ .. XXX need review for Python 3. XXX need review for Windows Vista/Seven? +.. _faq-run-program-under-windows: + How do I run a Python program under Windows? -------------------------------------------- diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 6812f648913..b8ce525db9c 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -26,7 +26,7 @@ popular alternative location.) On Windows machines, the Python installation is usually placed in :file:`C:\\Python37`, though you can change this when you're running the installer. To add this directory to your path, you can type the following -command into the command prompt in a DOS box:: +command into :ref:`a command prompt window `:: set path=%path%;C:\python37