You must run DITA2Map from a command line, in a Windows Command Prompt window. DITA2Map looks for a configuration file in the current directory. However, a configuration file is optional. If you are satisfied with default values for most configuration settings, you can specify the rest with command-line switches.
To use dita2map.exe to generate a .ditamap file from a DITA topic file:
dita2map [-v] [-t
"Map Title"] [-d "D:\path\to\DTDs"]
[-i inifile.ini] [-o mapfile.ditamap] topicfile.dita
where the switches specify the following:
All the command-line arguments to dita2map.exe are optional except the name of the DITA topic file from which to generate the map. You can include a path for topicfile. The generated topicrefs use the name of the topic file exactly as you specify it on the command line, including any path. Links in the topicrefs are all relative to the directory where DITA2Map is run. This is generally not the same directory where you run DITA2Go, because that is the output directory, which is usually different from the input directory. This means you should run dita2map.exe from the DITA2Go directory, which is where you want to use the .ditamap file DITA2Map produces.
If you run dita2map.exe without the -o switch, the map file will have the same name as the input topic file, except with extension .ditamap.
By default, dita2map.exe produces a log file called DITA2map_log.txt; see §46.3.4 Specifying logging options.