comparison contrib/win32/ReadMe.html @ 2386:280fde4b8701

merge with crew.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 01 Jun 2006 13:47:34 -0700
parents d9ca698e3c5a 068b32d06873
children 259acfb963d1
comparison
equal deleted inserted replaced
2362:482d3fb47d80 2386:280fde4b8701
29 29
30 <p>For documentation, please visit the <a 30 <p>For documentation, please visit the <a
31 href="http://www.selenic.com/mercurial">Mercurial web site</a>.</p> 31 href="http://www.selenic.com/mercurial">Mercurial web site</a>.</p>
32 32
33 <p>By default, Mercurial installs to <tt>C:\Mercurial</tt>. The 33 <p>By default, Mercurial installs to <tt>C:\Mercurial</tt>. The
34 Mercurial command is called <tt>hg.exe</tt>. To run this 34 Mercurial command is called <tt>hg.exe</tt>.</p>
35 command, the install directory must be in your search path.</p>
36
37 <h2>Setting your search path temporarily</h2>
38
39 <p>To set your search path temporarily, type the following into a
40 command prompt window:</p>
41
42 <pre>
43 set PATH=C:\Mercurial;%PATH%
44 </pre>
45
46 <h2>Setting your search path permanently</h2>
47
48 <p>To set your search path permanently, perform the following
49 steps. These instructions are for Windows NT, 2000 and XP.</p>
50
51 <ol>
52 <li>Open the Control Panel. Under Windows XP, select the
53 "Classic View".</li>
54
55 <li>Double-click on the "System" control panel.</li>
56
57 <li>Click on the "Advanced" tab.</li>
58
59 <li>Click on "Environment Variables". You'll find this near the
60 bottom of the window.</li>
61
62 <li>Under "System variables", you will see "Path". Double-click
63 it.</li>
64
65 <li>Edit "Variable value". Each path element is separated by a
66 semicolon (";") character. Append a semicolon to the end of the
67 list, followed by the path where you installed Mercurial
68 (e.g. <tt>C:\Mercurial</tt>).</li>
69
70 <li>Click on the various "OK" buttons until you've completely
71 exited from the System control panel.</li>
72
73 <li>Log out and log back in, or restart your system.</li>
74
75 <li>The next time you run the Windows command prompt, you will be
76 able to run the <tt>hg</tt> command without any special
77 help.</li>
78 </ol>
79 35
80 <h1>Testing Mercurial after you've installed it</h1> 36 <h1>Testing Mercurial after you've installed it</h1>
81 37
82 <p>The easiest way to check that Mercurial is installed properly is to 38 <p>The easiest way to check that Mercurial is installed properly is to
83 just type the following at the command prompt:</p> 39 just type the following at the command prompt:</p>