Sign in with
Sign up | Sign in
Your question

How do you run MS-DOS programs like Q-Basic?

Last response: in Windows XP
Share
Anonymous
September 14, 2005 7:27:01 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

I have Windows XP Pro with all the latest patches/fixes except for SP2. I
tried to install/run the program Q-Basic for my Computer Programming class
and when I do Windows gives me an error

C:\WINNT\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running
MS-DOS amd Microsoft Windows applications. Choose 'Close' to terminate the
application.

Many other students in my class are getting that error as well. But some
are still able to work the program. Also, I used to be able to run DOS
programs but lately that message comes up everytime I do.

Please help!

More about : run dos programs basic

Anonymous
September 14, 2005 8:10:41 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

See my recent thread "DOS doesn't work anymore!". The problem with
QBasic and QuickBasic 4.5 is that they access the kernel in a way that
non-DOS Windows doesn't allow. The fix I used was to make a FAT32
partition and install Windows 98SE (which is DOS-based). If you edit
MSDOS.SYS to set BootGUI=0 it'll stop at the DOS prompt on startup.

QBasic is QuickBasic 4.5 without the compiler and shell options. The
latter is convenient for examining output without quitting Basic.
I've never noticed compiled programs running faster than the
interpreted versions.

Visual Basic is miserable. Bloated, slow, full of kludges.
Anonymous
September 14, 2005 10:03:01 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Thank you everyone for all your help! It works now.

As for why I'm doing QBasic.. it's because I'm taking a Computer Programming
course (Computer Programming I) in my high school and that's what we learn.
Related resources
Anonymous
September 15, 2005 12:37:48 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Copy another copy (you'll find one in repair folder) to system32. WTF are you learning QBasic. Learn vbs also in Windows. It's a modern basic and anything you learn about QB will need to be unlearnt in the real world.



--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.htm...
=================================================
"Chibi-Ichi" <Chibi-Ichi@discussions.microsoft.com> wrote in message news:FB11C557-6459-451C-9CAA-BCDC5B9332E4@microsoft.com...
>I have Windows XP Pro with all the latest patches/fixes except for SP2. I
> tried to install/run the program Q-Basic for my Computer Programming class
> and when I do Windows gives me an error
>
> C:\WINNT\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running
> MS-DOS amd Microsoft Windows applications. Choose 'Close' to terminate the
> application.
>
> Many other students in my class are getting that error as well. But some
> are still able to work the program. Also, I used to be able to run DOS
> programs but lately that message comes up everytime I do.
>
> Please help!
September 15, 2005 12:37:49 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

I've got exactly the same problem but me AUTOEXEC.NT file seems to have
disappeared. Possible a stupid question - where do I find the "repair
folder"?
--
Gordon


"David Candy" wrote:

> Copy another copy (you'll find one in repair folder) to system32. WTF are you learning QBasic. Learn vbs also in Windows. It's a modern basic and anything you learn about QB will need to be unlearnt in the real world.
>
>
>
> --
> --------------------------------------------------------------------------------------------------
> http://webdiary.smh.com.au/archives/_comment/001075.htm...
> =================================================
> "Chibi-Ichi" <Chibi-Ichi@discussions.microsoft.com> wrote in message news:FB11C557-6459-451C-9CAA-BCDC5B9332E4@microsoft.com...
> >I have Windows XP Pro with all the latest patches/fixes except for SP2. I
> > tried to install/run the program Q-Basic for my Computer Programming class
> > and when I do Windows gives me an error
> >
> > C:\WINNT\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running
> > MS-DOS amd Microsoft Windows applications. Choose 'Close' to terminate the
> > application.
> >
> > Many other students in my class are getting that error as well. But some
> > are still able to work the program. Also, I used to be able to run DOS
> > programs but lately that message comes up everytime I do.
> >
> > Please help!
>
September 15, 2005 12:37:50 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Gordon <gordon@discussions.microsoft.com> wrote:
> I've got exactly the same problem but me AUTOEXEC.NT file seems to have
> disappeared. Possible a stupid question - where do I find the "repair
> folder"?

\windows\repair

should hold copies of the default AUTOEXEC.NT and CONFIG.NT files, as they
existed at the time your xp installation.

some malware like to delete these files from \system32 to cause all older
programs to fail.

so, COPY these 2 files to \windows\system32

read thru them if you like, tho you probably do not need to mod anything
in there. rememeber, these are the "global" copies of these files, any
changes you make will effect all 16-bit apps you run.

----------

you should set QBasic to run in compatibility mode, for Win95.

google: qbasic xp

there's lots of info on how to get it to work...

-----------
September 15, 2005 12:37:51 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

thanks fellas worked perfectly (is it etiquette to post thanks I wonder)
--
Gordon


"frodo@theshire.org" wrote:

> Gordon <gordon@discussions.microsoft.com> wrote:
> > I've got exactly the same problem but me AUTOEXEC.NT file seems to have
> > disappeared. Possible a stupid question - where do I find the "repair
> > folder"?
>
> \windows\repair
>
> should hold copies of the default AUTOEXEC.NT and CONFIG.NT files, as they
> existed at the time your xp installation.
>
> some malware like to delete these files from \system32 to cause all older
> programs to fail.
>
> so, COPY these 2 files to \windows\system32
>
> read thru them if you like, tho you probably do not need to mod anything
> in there. rememeber, these are the "global" copies of these files, any
> changes you make will effect all 16-bit apps you run.
>
> ----------
>
> you should set QBasic to run in compatibility mode, for Win95.
>
> google: qbasic xp
>
> there's lots of info on how to get it to work...
>
> -----------
>
>
Anonymous
September 15, 2005 6:07:57 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Type repair in Start Run (if it's in Windows or your home directory it will open it).

Search for repair.

C:\WINDOWS\repair

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.htm...
=================================================
"Gordon" <gordon@discussions.microsoft.com> wrote in message news:11C1DF6F-7268-4C73-8DD1-836AEBB50C68@microsoft.com...
> I've got exactly the same problem but me AUTOEXEC.NT file seems to have
> disappeared. Possible a stupid question - where do I find the "repair
> folder"?
> --
> Gordon
>
>
> "David Candy" wrote:
>
>> Copy another copy (you'll find one in repair folder) to system32. WTF are you learning QBasic. Learn vbs also in Windows. It's a modern basic and anything you learn about QB will need to be unlearnt in the real world.
>>
>>
>>
>> --
>> --------------------------------------------------------------------------------------------------
>> http://webdiary.smh.com.au/archives/_comment/001075.htm...
>> =================================================
>> "Chibi-Ichi" <Chibi-Ichi@discussions.microsoft.com> wrote in message news:FB11C557-6459-451C-9CAA-BCDC5B9332E4@microsoft.com...
>> >I have Windows XP Pro with all the latest patches/fixes except for SP2. I
>> > tried to install/run the program Q-Basic for my Computer Programming class
>> > and when I do Windows gives me an error
>> >
>> > C:\WINNT\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running
>> > MS-DOS amd Microsoft Windows applications. Choose 'Close' to terminate the
>> > application.
>> >
>> > Many other students in my class are getting that error as well. But some
>> > are still able to work the program. Also, I used to be able to run DOS
>> > programs but lately that message comes up everytime I do.
>> >
>> > Please help!
>>
Anonymous
September 15, 2005 6:30:31 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

QB4.5 and QBasic both work without doing anything.

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.htm...
=================================================
<frodo@theshire.org> wrote in message news:11igishm526h093@corp.supernews.com...
> Gordon <gordon@discussions.microsoft.com> wrote:
>> I've got exactly the same problem but me AUTOEXEC.NT file seems to have
>> disappeared. Possible a stupid question - where do I find the "repair
>> folder"?
>
> \windows\repair
>
> should hold copies of the default AUTOEXEC.NT and CONFIG.NT files, as they
> existed at the time your xp installation.
>
> some malware like to delete these files from \system32 to cause all older
> programs to fail.
>
> so, COPY these 2 files to \windows\system32
>
> read thru them if you like, tho you probably do not need to mod anything
> in there. rememeber, these are the "global" copies of these files, any
> changes you make will effect all 16-bit apps you run.
>
> ----------
>
> you should set QBasic to run in compatibility mode, for Win95.
>
> google: qbasic xp
>
> there's lots of info on how to get it to work...
>
> -----------
>
Anonymous
September 15, 2005 6:30:32 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

"David Candy" <.> wrote in news:uh9NimUuFHA.3740@TK2MSFTNGP14.phx.gbl:

> QB4.5 and QBasic both work without doing anything.
>

I'll be damned. Now QB4.5 does, through a shortcut or at Command
Prompt. So it wasn't necessary to make a dual-boot partition and
install Win98.
I swear they didn't work on this computer out of the box.
Anonymous
September 15, 2005 6:47:19 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

David Candy wrote:
> Copy another copy (you'll find one in repair folder) to system32. WTF are you learning QBasic. Learn vbs also in Windows. It's a modern basic and anything you learn about QB will need to be unlearnt in the real world.

Odd thing about educational institutions: The faculty usually sets the
diploma/degree requirements. If they get the idea in their heads you
need a DOS based language like QBASIC, Turbo Pascal or Turbo C++ (some
even insist on plain C) you better plan on spending a semester learning it.
September 15, 2005 1:07:01 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Gordon wrote:
>
> thanks fellas worked perfectly (is it etiquette to
> post thanks I wonder)
>
YES, OF COURSE IT IS!

Firstly, it tells those who are helping you that they have
succeeded, giving them the warm fuzzies, and secondly, if
others are following the thread, it lets them know that the
approach is worth trying!

Cheers,

Cliff

--

Barzoomian the Martian - http://barzoomian.blogspot.com
Anonymous
September 15, 2005 3:28:34 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Least you have a partition for old dos games.

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.htm...
=================================================
"Ed Ferris" <none@nowhere.com> wrote in message news:Xns96D1C791564DFedfcorecom@216.168.3.44...
> "David Candy" <.> wrote in news:uh9NimUuFHA.3740@TK2MSFTNGP14.phx.gbl:
>
>> QB4.5 and QBasic both work without doing anything.
>>
>
> I'll be damned. Now QB4.5 does, through a shortcut or at Command
> Prompt. So it wasn't necessary to make a dual-boot partition and
> install Win98.
> I swear they didn't work on this computer out of the box.
Anonymous
September 15, 2005 9:56:50 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

That is odd indeed.

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.htm...
=================================================
"RobertVA" <robert_c72AThotmail@invalid.com> wrote in message news:o $HWDFcuFHA.2792@tk2msftngp13.phx.gbl...
> David Candy wrote:
>> Copy another copy (you'll find one in repair folder) to system32. WTF are you learning QBasic. Learn vbs also in Windows. It's a modern basic and anything you learn about QB will need to be unlearnt in the real world.
>
> Odd thing about educational institutions: The faculty usually sets the
> diploma/degree requirements. If they get the idea in their heads you
> need a DOS based language like QBASIC, Turbo Pascal or Turbo C++ (some
> even insist on plain C) you better plan on spending a semester learning it.
!