From f3599c81195aca8aae0f9c2c3f61c83172b53fc0 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 12 Oct 2010 00:54:03 +0000 Subject: [PATCH] Note that the default install Directory for Windows 7 (maybe Vista too?) is in 'c:\Program Files (x86)' rather than just 'Program Files' --- docs/nmap-install.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml index df9ce442a..8c1afc3eb 100644 --- a/docs/nmap-install.xml +++ b/docs/nmap-install.xml @@ -924,11 +924,14 @@ on the computer (user should be a member of the administratorsOpen a command/DOS Window. Though it can be found in the program menu tree, the simplest approach is to choose Start -> Run and type cmd<enter>. Opening a Cygwin window (if you installed it) by clicking on the Cygwin icon on the desktop works too, although the necessary commands differ slightly from those shown here. -Change to the directory you installed Nmap into. Assuming you used the default path, type the following commands. +Change to the directory you installed Nmap into. You can skip this step if Nmap is already in your command path (the Zenmap isntaller adds it there by default). Otherwise, type the following commands. c: -cd "\Program Files\Nmap" +cd "\Program Files (x86)\Nmap" + +On Windows releases prior to Windows 7, specify \Program Files\Nmap instead. The directory will also be different if you chose to install Nmap in a non-default location. + Execute nmap.exe. is a screen shot showing a simple example. @@ -948,9 +951,11 @@ the program menu tree, the simplest approach is to choose Start If you execute Nmap frequently, you can add the Nmap directory -(c:\Program Files\Nmap by default) to -your command execution path. The exact place to set this varies by -Windows platform. On my Windows XP box, I do the following: +(c:\Program Files (x86)\Nmap by default on +Windows 7) to your command execution path. The exact place +to set this varies by Windows platform. On my Windows XP box, which +installs Nmap in c:\Program Files\Nmap, I do the +following: From the desktop, right click on My @@ -969,7 +974,7 @@ Choose Path from the System variables section, then hit edit. -Add a semi-colon and then your Nmap directory (c:\Program Files\Nmap by default) to the end of the value. +Add a semi-colon and then your Nmap directory (e.g. c:\Program Files\Nmap) to the end of the value. Open a new DOS window and you should be able to execute a command such as nmap scanme.nmap.org from any directory.