Ok, so I decided to go back and use some QBasic just for the sake of some retro programing fun.

I know in VB6 if you want to check for a file you can use the Dir or Dir$ command. For example:
Code:
dim FileName as string
FileName = "MyFile.txt"
if dir(FileName) <> "" then
print "File exists."
else
print "File is missing."
end if
But QBasic doesn't have Dir or Dir$. So what is the equivalent QBasic command?