QBASIC does not Compile however QuickBasic /TurboBASIC will do the job for you under the COMPILE Menu
-Goodluck