To compile your application Help from the command line, the Windows Help Compiler and MAKEHM.EXE must be in your path statement. To ensure that this is the case (and to set other relevant environment variables for a specific build target), run the VCVARS32 batch file.