This is a explaination for whom want to compile your own applications without IDE, ie., by prompt command.
Normally at all HMG installations will be copy a batch file named Build.bat at root of your HMG folder.
When you create your project you will do it at specific and separated folder in your hard disk.
Here, lets say with name MyAppFolder folder name and the project name (hbp file name) MyApp.hbp as example here during this instructions.
You need to make position in line command by typing at prompt:
CD\MyAppFolder
Then you can call the main Build.bat at HMG folder. Actually lets say C:\hmg.3.4.4 folder name where HMG was installed, for example.
Build.bat will need the name of main prg or the hbp file name as parameter.
Build.bat has switches (parameter with slashbar) for console, for debugger and for not running after building the application.
So, you will use as follows by typing:
C:\hmg.3.4.4\Build MyApp
Please note above is positioned from your app folder and calls the Build.bat at HMG folder.

There are others Build.bat files at sub folders called SAMPLES that is for only SAMPLES/DEMO proposes only.
Is not useful for compiling your applications made by you. Because these Build.bat are searching the root of HMG folder that is contained at SAMPLES sub-folder. And when you create your application you should do it outside of HMG folder.