Computing.Net > Forums > Windows 2000 > DOS memory and Windows 2000

DOS memory and Windows 2000

Reply to Message Icon

Original Message
Name: James
Date: March 30, 2001 at 07:44:37 Pacific
Subject: DOS memory and Windows 2000
Comment:

I am running a DOS application on my laptop and I get a run time error indicating OUT OF ENVIRONMENT SPACE. I have seen this before with WIN 95 and corrected it by right clicking on the DOS window and allocating more memory to the initial environment setting. Is there a similar way of doing this in Windows 2000? thanks.


Report Offensive Message For Removal


Response Number 1
Name: Jeruvy
Date: March 30, 2001 at 09:59:33 Pacific
Subject: DOS memory and Windows 2000
Reply: (edit)

Hi there.

If I understand what your asking properly then no. All 16bit apps run as separate threads in a single multithreaded NTVDM.exe.

As a result running multiple 16bit apps can cause problems. Since they are in the same application memory space (NTVDM). Using the command line 'start /separate {processname}' you can cause a new 16bit app to run in it's own address space. (It also allows better monitoring of multiple legacy apps (instead of trying to map threads to processes within NTVDM)

All applications are allocated 2GB address space for runtime.

Ensure your RAM pagefile isn't badly fragmented or too small, or it's not on a partition getting full (above 90-5%).

Perhaps your initial runtime is setting some bad env settings also.

Ensure your permissions are not causing the conflict, and check to make sure they are the right type of environment variables. Your DOS program assumes administrator rights so if your app isn't getting admin level rights your DOS program may not know how to handle the error.

Perhaps your vendor could also provide some insight for the DOS tool.

I realize this may not help or answer the question properly, sorry I couldn't be more help.


Report Offensive Follow Up For Removal

Response Number 2
Name: destruk
Date: March 30, 2001 at 12:38:14 Pacific
Subject: DOS memory and Windows 2000
Reply: (edit)

then again, perhaps it's because in an emu-dos cmd.exe window on windows 2000 you only have 1mb of ram.


Report Offensive Follow Up For Removal

Response Number 3
Name: James Sharpe
Date: April 1, 2001 at 18:33:24 Pacific
Subject: DOS memory and Windows 2000
Reply: (edit)

Try setting a msdos shortcut to it.

Then in the shortcut settings, in memory
set the initial environment mem to 1024.

:o)
Have a nice day......


Report Offensive Follow Up For Removal

Response Number 4
Name: kkl
Date: April 7, 2001 at 11:06:39 Pacific
Subject: DOS memory and Windows 2000
Reply: (edit)

Go the winnt directory. Right mouse click on the file _default then click on create shortcut and move it to your desktop.
You can then right click and go to properties and have all the settings you used to have including environment space. Just set up your command line and working space.

If the program runs a batch file that contains environment variables, right click my computer and go to properties, click the advanced tab and click environment variables, then under user variables, add a name and path for each one.

Works like a charm


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: DOS memory and Windows 2000

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge