View Full Version : make a sort of .reg files to ...
martino1987
09-03-2001, 06:19 PM
hi
Is it possible to make a sort of .reg file that do the same as a .reg file but then that they add a line for some of the next programs autoexec.bat, config.sys, msdos.sys, system.ini, etc
/images/w3t/icons/cool.gif I am 13 years so maybe my english is a little bad.
mailto: martino1987@hotmail.com ( martino1987@hotmail.com )
I have win95.
RWSchlatter
09-03-2001, 08:34 PM
J think you mean a program that updates those files with from a text file of some kind.
Actually this is be done by some Installer programs that are used to put new applications on a system. You place some directive into the script that is needed by the Installer.
But let me give you some advice at this point:
The msdos.sys file is don't touch ! This is very special for booting the operating system and should only be changed manually for very special cases and only be persons who know what is happening.
The autoexec.bat and the config.sys are left over from the time of msdos, you should find a better place to put some additional commands into, which means it should go to the registry. If you are using Win98/Me you now have Msconfig.exe to manually modify the settings from the GUI.
The system.ini and the windows.ini are left over from the first Windows versions (first usable on the market was v3.0 ten years ago). Certain settings are still maintained there (sometimes written back into the .ini files for compatibility with rather old software). Aain you should put new information into a better place: the registry. You will find the Sysedit.exe program that gives you GUI for manual modification.
______________
Regards - Richard
martino1987
09-03-2001, 09:42 PM
hi
I have in "MSDOS.SYS" the code "AutoScan=2", but when i start a tweak program called "custumizer 2000" it automaticly changes "AutoScan=2" to "Autoscan=1", so I have to open "MSDOS.SYS" and change it back with notepad, and I faught maybe it's easyer to have one file to openen and t's done for me.
/images/w3t/icons/cool.gif I am 13 years so maybe my english is a little bad.
mailto: martino1987@hotmail.com ( martino1987@hotmail.com )
I have win95.
RWSchlatter
09-04-2001, 02:41 AM
"...but when i start a tweak program ... it automaticly changes ...., so I have to open "MSDOS.SYS" and change it back with notepad..."
if you have any program that automatically changes settings you do not wish, then that is a reason to drop such a program immediatly (at least for me - who knows if that is the only setting it changes against my wish). J recommend you look for another tweak program that is more cooperative with the machine owner. There are many on the web.
Note: if this is really the program you like to keep up and running, then think of a workaround. One solution could be to have a backup copy "MSDOS.SYS.MY.BACKUP", then add a COPY statement to the autoexec.bat file (or include a RUN entry in HKLM with CMD /K COPY <FromBackup> <ToTarget>) and overwrite the copy that your favourite program modifies. You may need to add some ATTRIB commands to handle the file attributes (hidden / readonly / system - whatever is needed in your Windows version). If there are several statements, make a separate BAT file out of them and call this one from the autoexec.bat or the RUN key. All depends on the ponit in time that your utility modifies the file - may be a bit tricky to put the copy in the proper place.
______________
Regards - Richard
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.