Annoyances.org
Home » Windows 98 Discussion Forum » Message 1195709368 » Entire Thread Search | Help | Home
  
Changes done in config.sys file not getting saved
Showing all messages in thread #1195709368
Windows 98 Annoyances Discussion Forum


The following are all of the messages in this thread (3 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Changes done in config.sys file not getting saved
Wednesday, November 21, 2007 at 9:29 pm
Posted by Suja Suresh (1 messages posted)

I have a foxpro application in my win 98 system. It needs some commands in config.sys file. I added two commands to config.sys file and saved the file. But on restart the commands gets erased and a blank config.sys file appears. How do I get the old config.sys file after restarting the system.

[Reply or follow-up to this message]

re: Changes done in config.sys file not getting saved
Wednesday, November 21, 2007 at 10:43 pm
Posted by gewg_ (3513 messages posted)

|I have a foxpro application in my win 98 system.
|It needs some commands in config.sys file.
| Suja Suresh
|
FoxPro for DOS?
Windoze 98 has no need for CONFIG.SYS nor AUTOEXEC.BAT. [1]
Have you tried starting in Command Line Mode (Real DOS)?

|I added two commands to config.sys file and saved the file.
|
Did you make the file Read-Only at that point?
Did you try to READ the file again after saving it to see what it contained?
What are the commands that you added?[2]

|But on restart the commands gets erased and a blank config.sys file appears.
|
Have you looked for multiple files by that name on your drive?
(Are you editing a bogus copy?)
Does something in AUTOEXEC.BAT nuke CONFIG.SYS?
Have you scanned your system for infections?

|How do I get the old config.sys file after restarting the system.
|
AFTER you load Windoze, it's too late to monkey with CONFIG.SYS again.
By then, the DOS environment has already been set up.
See **Command Line Mode** (above).


[1] ...or FoxPro for Win 3.x?

[2] Any of the
FILES=
STACKS=
BUFFERS=
nonsense (etc.) is handled by Windows 98 without having to hand-tweak this stuff.

If this an actual problem and not an infection or a wrongly-suspected symptom,
maybe other FoxPro users have seen it before: 
The Usenet Archive -- ingroup:foxpro++config+sys

[Reply or follow-up to this message]

re: Changes done in config.sys file not getting saved
Friday, November 23, 2007 at 9:27 am
Posted by Ed (574 messages posted)

The reported symptom which you are complaining of is the default behaviour of Windows ME, which does not allow any modification of the autoexec.bat or config.sys files.

This behaviour does not ordinarily occur in Win 98.

Are you certain that the system you are using is Win 98? It sounds rather like the behaviour of a system after it has been upgraded from Win 98 to Win ME.

If any "fixes" have been applied to a Win 98 system, that have included upgrading some of the system files to their Win ME equivalents, this behaviour might also be experienced. For example, the well known Axel upgrades at http://www.mdgx.com/web.htm#WME might conceivably cause this.

Win ME only allows environment variables in the autoexec.bat and config.sys files, and stores other variables in a registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\Environment

In a Win ME system the installation of real mode drivers might be possible, by manually adding them in that key. But the mixing of real mode and protected mode drivers might cause system instability.

Protected operating system files is a concept that was introduced with Win ME, there was no equivalent to it in Win 98. But that is what you seem to be describing.

Ed




On Wednesday, November 21, 2007 at 9:29 pm, Suja Suresh wrote:
>I have a foxpro application in my win 98 system. It needs some commands in config.sys
>file. I added two commands to config.sys file and saved the file. But on restart
>the commands gets erased and a blank config.sys file appears. How do I get the old
>config.sys file after restarting the system.

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows 98 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.