r/qbasic • • Nov 13 '23

Codin' a shell

Hi! I'm coding a shell in QBasic, but please help me... Here's my code and what commads you be in. Help debug etc..

'SymphonySoft, quickOS 1996

Print "quickOS [version 1.0]"

Print "(c) 1996 SymphonySoft, Adam El."

'Commands

Print

Print "Type help to print on screen a list of all commands"

Print

Input usr_com$

If usr_com$ = "help" Then

Print "sysInfo; diskInfo; msg; script(code); time; tree; vol; set; label; rmdir; mkdir, del; find; recover; path; quit; cls;"

End If

Print

If usr_com$ = "msg" Then

msg = input

Print msg

End If

Print

Input usr_com$

0 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Nov 16 '23

Yes but you're the one. The chosen one. So, I need a complete new code ?