Yes that will work, but it won't actually be a .com program. I don't know the specific differences, but there are major ones between .exe and .com programs. One is progra size - .coms have a very limited program size in comparison to exes. I think it's 64KB so that they fit into one memory segment.
: : How do you make .com executables with QB?
: Try maing an .exe file, then change the extension to .com
: Since both .exe and .com represent applications, it should work.