To add a command to the ASM compiler in the SASM IDE, you can usually modify the build settings or create a custom build script. You can check the SASM documentation or the IDE's settings/options menu to find the specific configuration for adding commands or post-build actions. By configuring it correctly, you can make the IDE call the "*****.exe" program after every compilation of a .asm file to generate the .exe output.