Runn DOS Applicatioins Under XP

  • Thread starter Thread starter Tatonka
  • Start date Start date
T

Tatonka

I have an accounting program purchased from Cougar Mountain Software a
few years back. It has a multitude of financial info on it that I need
to get to. It was first running under Win95, later under Win 98 SE,
However, it will not run all modules under XP. I think I have isolated
the problem to the Config.sys file. Since the program must have files
and buffers set, it worked well under the two older operating systems.
How can I make it run under Windows XP??? Any help would be greatly
appreciated.

Tatonka
 
Use the Program Compatibility Wizard.

See these...

How to Run Legacy Applications Using Windows XP
http://www.microsoft.com/technet/tr...et/prodtechnol/winxppro/maintain/lgcyapps.asp

Application Compatibility Tools in Windows XP
http://www.microsoft.com/windowsxp/expertzone/columns/mcfedries/03june02.asp

-----

From various sources...

Windows XP uses Config.nt and Autoexec.nt, not Config.sys or Autoexec.bat.

If you have a Config.sys or Autoexec.bat file XP will (mostly) ignore them.
Nothing in Config.sys will have any effect. Any line in Autoexec.bat that
launches a program or changes a directory will be ignored; the only lines in
Autoexec.bat that Windows XP will read are the lines that begin SET or PATH.
If ParseAutoexec is set to 1.

In order to launch programs or change settings for DOS programs under
Windows XP, you must modify two files named Config.nt and Autoexec.nt,
typically found in the C:\Windows\System32 directory.

Config.nt is used for the same kind of tasks formerly performed by
Config.sys (loading device drivers, etc.). Autoexec.nt is used for the same
kind of tasks formerly performed by Autoexec.bat (launching memory-resident
programs, etc.) Only old-style 16-bit DOS programs can be run from
Autoexec.nt. You cannot use Autoexec.nt to run 32-bit Windows XP text-mode
programs like MODE or SUBST; these programs may be run in an ordinary batch
file, but not in Autoexec.nt.

When this value is enabled the variables declared in the Autoexec.bat file
will be parsed and included in the current user environment.

HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon
Value Name: ParseAutoexec
Data Type: REG_SZ
Data: 0 or 1
0 : Ignores Autoexec.bat at logon.
1 : Parses Autoexec.bat at logon.

This has no effect on the parsing of AUTOEXEC.NT or CONFIG.NT by the MS-DOS
or 16-bit Windows environments (VDMs).

To add or change environment variables with Windows XP:
1. Right click on My Computer
2. Select Properties
3. Click on the Advanced tab
4. Click on the Environment Variables button
5. From here you can change it for the system or just the current user.
---

From my CONFIG.NT...
CONFIG.SYS is not used to initialize the MS-DOS environment.
CONFIG.NT is used to initialize the MS-DOS environment unless a
different startup file is specified in an application's PIF.
Everything is REM'd out except...
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40
---

lh %SystemRoot%\system32\mscdexnt.exe
loads into the UMBs (Upper Memory Blocks) the NT CD reader equivalent to the
well known mscdex for DOS

lh %SystemRoot%\system32\redir
loads into the UMBs the LAN redirector to enable the mapping of remote
devices

lh %SystemRoot%\system32\dosx
loads into the UMBs the protected mode DOS extender to access the memory
above the first megabyte

By the way the use of lh requires the presence of the following lines in
Config.NT

EMM=Ram
DOS=High,Umb
-----

AUTOEXEC.NT & CONFIG.NT are both located here >>>
C:\WINDOWS\system32
and
C:\WINDOWS\repair

AUTOEXEC.BAT, CONFIG.SYS, IO.SYS & MSDOS.SYS are all located here >>>
C:\

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Config.NT is the newer equivalent file of the old "Config.sys"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top