SHELL Statement The SHELL statement is used to exit temporarily from Qbasic environment to DOS prompt. Syntax: SHELL [path] Eg: SHELL c: When the example is executed, it will prompt to DOS in c: drive. Share : Twitter