Dear Debbie et al;

Firstly, its good to be back after a long absence from the list due to a
very large project we have been undertaking over the past 9 months.

As previously stated by others, NT and Win2000 will not look at the
Autoexec.nt and Config.nt files to set environment variables.

Environment variables can be declared and set under these operating systems
as follows:

NT 4.0
------

1.  Right Click on My Computer / select Properties / then Environment tab

2.  Click on any vlaue in the System Variables section - It will now appear
down the bottom of the screen in the "Variable and Value" fields.

3.  Overwrite these values with your files and buffers Name / Value pairs
and click Set - Note this will not delete the original value you just
overwrote - it will simply add the new value to the correct section.

4.  Variable will now appear in list and also be available to all cmd.exe
sessions and may be checked by opening a new cmd.exe session and typing:

    SET |MORE


Win200
------

1.  Right Click on My Computer / select properties / then Advanced tab /
then Environment variables button

2.  Under the System Variables section click new.

3.  Add the Name/Value pair of the environment variable you wish to create
and click OK

4.  Variable will now appear in list and also be available to all cmd.exe
sessions and may be checked by opening a new cmd.exe session and typing:

     SET |MORE

-------
Warning
-------

Under both O/S, (2000 and NT), it is critical that the variable be added to
the "System variables" section not the "user variables" section, otherwise
the values will only be available to the currently logged on user.


Registry Method
---------------

For those wanting to use the "adventure method",  system wide environment
variables can also be added directly to the registry.

To achieve this, Add a new STRING VALUE (Name/Value pair) to the following
registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment


I hope this helps

Kindest Regards



David Ballantyne
(Way Down Under - Somewhere!)



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of tellef
Sent: Thursday, 3 May 2001 12:59
To: INTERNET:[EMAIL PROTECTED]
Subject: re: Tuning for DOS on NT


Debbie:

Don't know if this applies to your setup, but the most recent
PCMagazine (5/8/01, p.94) has a question written by someone
with a Windows ME environment who says that things like
'files' and 'buffers' are ignored and wants to know how to
put them in so his DOS programs will run.

PCMag answers that those commands MUST be put into the
'system.ini' file in a special section.  If you think it
applies to you and you don't have access to the magazine,
let me know and I'll type in their response on how to do
it.


Karen

Reply via email to