how to delete files in Qbasic?

May 24, 2017 at 22:12:42
Specs: Windows 7
i am having trouble deleting files because there is no "delete file" button. i am using dos-box with qbasic 0.74. i need an answer quickly because my program bar is getting really clogged up and its getting hard to find the program i need to find. please.
hope to get an answer soon.
thanks.

message edited by skaters


See More: how to delete files in Qbasic?

Reply ↓  Report •

#1
May 24, 2017 at 23:24:22
Use DOS commands.

Go here and scroll down to the Delete section:

https://kb.wisc.edu/page.php?id=903


Reply ↓  Report •

#2
May 25, 2017 at 00:32:08
sorry i do not have dos i just use dos-box (even though i do not have it(the app does))

message edited by skaters


Reply ↓  Report •

#3
May 25, 2017 at 08:32:54
@skaters

Shell Statement.
Shell "dir", Shell "del myfile.txt", ... .
http://www.qbasic.net/en/reference/...
DOS-Box Is DOS Emulator And DOS-Box Environment Is DOS Environment.

Good Luck.

message edited by TechDOS


Reply ↓  Report •

Related Solutions

#4
May 25, 2017 at 20:41:04
Can you see the files from the windows desktop or command prompt without opening dosbox? If so just delete them as you would any other file. Or, if you can't find them, Qbasic files should have a .bas extension. Try doing a file search for *.bas to find them.

Reply ↓  Report •

#5
May 26, 2017 at 14:51:10
It depends a lot on just how you have set things up. In principle you delete the files for the individual qbasic files (programs) you are running. So firstly you need to find out exactly where they have been put and their names. They will have a bas file extension.

However if you run into trouble your best bet is to go to one of the DOS Box forums - click links below:

https://www.vogons.org/viewforum.ph...

https://forums.launchbox-app.com/fo...

EDIT:
I overlooked #4 above but as I've typed it I might as well submit it.

Always pop back and let us know the outcome - thanks

message edited by Derek


Reply ↓  Report •

#6
June 1, 2017 at 21:59:00
i downloaded qbasic straight from the comp windows 7 it will not come as so it will not show "delete file"

Reply ↓  Report •

#7
June 2, 2017 at 05:43:22
"I downloaded qbasic straight from the comp windows 7"
I thought you said you had put it in DOS Box.

The programs that run on it have a bas extension. They must be "somewhere", all you have to do is find them and delete them - see response #4.

Always pop back and let us know the outcome - thanks


Reply ↓  Report •

#8
June 2, 2017 at 22:06:02
Great:(
now i have another problem...
how to take a screenshot to show you what i mean:(
i said the app used dos-box though i do not have it:/
(i do not know how)

message edited by skaters


Reply ↓  Report •

#9
June 3, 2017 at 08:11:34
You said "i just use dos-box"
So as you use it we assumed you had it onboard.

If you haven't got a screen capture program you could just use the Print Screen key, then open Paint and "Paste" it into it. Save the Paint file then upload it here:
http://www.fileconvoy.com/index.php
Post the address (URL) that they give you on here and we will then be able to go there and see it.

These files you are referring to. We have assumed you mean programs. Is that right or do you mean you want to delete Qbasic itself? If they are little basic programs did they come with the package or did you add them yourself. If you added them it ought to be possible to delete them.

Always pop back and let us know the outcome - thanks


Reply ↓  Report •

#10
June 23, 2017 at 23:22:29
ANS found
KILL "(name)" is the ANS

Reply ↓  Report •

#11
June 24, 2017 at 08:07:06
OK thanks. Looks like we didn't understand the question originally.

Always pop back and let us know the outcome - thanks


Reply ↓  Report •

Ask Question