943,962 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Feb 15th, 2005
0

How to run Qbasic and DOS progs again under windows XP

(I spent a few hours trying to find the right IDIOT button to start a new thread as this is DOS AS WELL AS QBAS and the other basics.)

I have discovered what Gates did (Nov 2004, his fix called SP2) to stop all applications like QBASIC working.

What he did is deleted autoexec.nt

Replace it and those DOS programs he sabotaged now work fine again, and it is so easy to do:

What you put in it hardly matters. What matters is SOMETNG is there, and he deleted it!

So do this:
Launch Notepad (or Wordpad) and on the screen it provides, type in

@ECHO OFF

followed by pressing Enter (carriage return)

Then save this as file c:\windows\system32\autoexec.nt.

On Notepad you may need to put the filename in quotes – or it may save your @ECHO OFF as a file called Autoexec.nt.txt


If you do this and it still does not work, reopen autoexec.nt and add the following lines:

1h %SystemRoot%\system32\mscdexnt.exe
1h %SystemRoot%\system32\redir
1h %SystemRoot%\system32\dosx
SET BLASTER=A220 I5 D1 P330 T3
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mrwhy is offline Offline
22 posts
since Feb 2005
Feb 21st, 2005
0

Re: qbasic program under Windows XP

Quote originally posted by divminds ...
THERE!!! Under recent study one member on this site suggested using DOSBox. I've combined both DOSBox-0.63 and QBasic 4.5 together to create QBasicXP. It works PERFECTLY! I have only one problem with it. The help file that tells u the codes is not working but as long as u know the codes or if u can get a tutorial from somewhere else you will be fine. Here is the link

QBasicXP
How do you get rid of the "pop-up"?(for want of a better word) that happens every time you try to start a program which makes it impossible to read anything where the "pop-up" occupies space. Otherwise as someone new to QBASIC, I like what I see and thank you for the hyperlink(&download).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nar321 is offline Offline
10 posts
since Feb 2005
Mar 3rd, 2005
0

Re: qbasic program under Windows XP

Quote originally posted by nar321 ...
How do you get rid of the "pop-up"?(for want of a better word) that happens every time you try to start a program which makes it impossible to read anything where the "pop-up" occupies space. Otherwise as someone new to QBASIC, I like what I see and thank you for the hyperlink(&download).
I'm sorry but what exactly do you mean by "pop up"? Like when you run the program that you have created? (Usually just a black screen) If thats the case and you cannot exit the program, try pressing Ctrl +Break. I've updated QBasicXP so it now boots into a fullscreen with double buffering. I'm currently working on setting a permanent path for the QB45QCK.hlp file (Help File). I should have every bug worked out by March 10th. Anyone questions that need immediate response just email me at t0p_gunner@yahoo.ca
Reputation Points: 10
Solved Threads: 0
Newbie Poster
divminds is offline Offline
15 posts
since Feb 2005
Mar 3rd, 2005
0

Re: qbasic program under Windows XP

Never mind, think I figured it out and apologize for posting. Looking forward to your posting the update( as I need all the help I can get and am looking forward to be able to call it up if needed)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nar321 is offline Offline
10 posts
since Feb 2005
Mar 6th, 2005
0

Re: qbasic program under Windows XP

wow!!! Too much headache...
but.. congratulation....for all those solutions...

newvbguy
Reputation Points: 13
Solved Threads: 3
Junior Poster in Training
NewVBguy is offline Offline
71 posts
since Mar 2005
Mar 10th, 2005
0

Re: qbasic program under Windows XP

hrmm I'm having quite a bit of difficulty with this Perminent Help Path Soooooo... I'm going to move on to someone elses idea of replacing autoexec.nt. I will post a program on the same site that does this separately. It will create a duplicate Autoexec.nt in the system32 folder and install QBasic v4.5. (Warning!! - I Have Not Done Any Testing On This Autoexec.nt So I'm Going to Go Through A few tests to be safe! Otherwise I will post the program at your own risk. I doubt there are any problems but then again these are system files we are dealing with so better safe then sorry ) Anyway I'll Keep you guys informed on the testing and progress. The Update will still take place March 10th.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
divminds is offline Offline
15 posts
since Feb 2005
Mar 10th, 2005
0

Re: qbasic program under Windows XP

WOOT!!! :!: :!: I got it I created another batch file so it would execute the commands through that so the settings in QBasic would save! At 4:00 pm today I will post both my programs the one not tested with autoexec.nt and the updated version of QBasicXP!! Come check it out! :mrgreen:

Click here at 4:00pm eastern to get the new QBasicXP Programs!!!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
divminds is offline Offline
15 posts
since Feb 2005
Aug 18th, 2005
0

Re: qbasic program under Windows XP

Quote originally posted by divminds ...
I'm sorry but what exactly do you mean by "pop up"? Like when you run the program that you have created? (Usually just a black screen) If thats the case and you cannot exit the program, try pressing Ctrl +Break. I've updated QBasicXP so it now boots into a fullscreen with double buffering. I'm currently working on setting a permanent path for the QB45QCK.hlp file (Help File). I should have every bug worked out by March 10th. Anyone questions that need immediate response just email me at t0p_gunner@yahoo.ca
I have a second question for that. Normally, to exit a "never-ending loop" you would press ctrl+break. That doesn't seem to work for your program. If you could fix that, it'd be highly appreciated =D.

Other than that, great job! I've been trying for a while to get QBasic running on my XP and finally it worked. :cheesy:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sugarholic is offline Offline
1 posts
since Aug 2005
Sep 1st, 2005
0

Re: qbasic program under Windows XP

Why does Qbasic run so slow on XP for me?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lympathy is offline Offline
1 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Legacy and Other Languages Forum Timeline: Program to automatically convert from C++ to matlab?
Next Thread in Legacy and Other Languages Forum Timeline: Programming FAQ v2.0.1!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC