View Full Version : New Autoexec.bat and Config.sys
Can anyone tell me how to create a clean autoexec.bat and config.sys on a Win95b system, running over DOS 6.22? I want to clean up those boot up files because I think there are too many entries that I probably don't need(after various upgrades over the years). And rather going though and figuring out which lines to REM out, I would just prefer to reinstall the basic mouse drivers, CD-ROM, sound card drivers, and ZIP Drive while in DOS mode in a fresh file.
Can I just delete those two files(after backing them up) and start over with the necessary drivers and files?
Thanks
Ron
jmatt
02-09-2001, 03:03 AM
Lots of ways to achive what you want . Maybe these will help .
An Alternative to Formatting---A re-install via Your CD or Disks:
To reinitialize W-9x hardware drivers and leaving your settings
intact--not by me but from Microsoft at:
http://www.support.microsoft.com/c.asp?PR=CHS&FR=0&M=S
Run REGEDIT
Click The ( + ) sign HKEY_LOCAL_MACHINE
Export Enum to a floppy to save , then
delete the ( Enum ) and re-boot with CD or Disks in hand .
Windows will ask you to provide the disks for your drivers and you
may need to re-boot many times.
As usual , before you start , Backup , Backup , Backup .
------------------------------------------------------
http://www.langa.com/cleanup_bat.htm
-------------------------------------------------------
1. Close all programs.
2. Hit Start-Find-Files or Folders. In the Named box, type the
following exactly as it appears (but it is not case-sensitive), and
without any spaces:
*.tmp,~*.*
Make sure the Look-In box contains the hard drive from which your
applications run, usually (C:). Make sure the Include Subfolders
checkbox is checked. Hit Find Now.
When the little magnifying glass stops, searching has completed and
you can see how many files were found at the bottom of the dialog box.
If you feel bad about having so many, the author's record on a user's
PC is 6,600, though less than a hundred is typical. On your keyboard,
hold your Ctrl key down and hit the letter "a"; this selects all the
files that were found. Hit your delete key and say Yes when asked if
you want to send all the files to the recycle bin.
If you are asked if you are sure you want to delete a file because it
is a program that you will not be able to run again, or because it is
a read-only file, say Yes. Program files do not start with a squiggly
line (~ it's called a tilde - till-duh), nor do they end with "tmp."
If you are unable to delete some of the files, hit Ctrl-Alt-Delete and
End Task on everything in the list EXCEPT Explorer and Systray.
(It is okay to End Task on your antivirus software because you will be
rebooting your PC, which should restart your antivirus software again.)
Once you have ended all of the tasks (except Explorer and Systray),
try selecting (ctrl-a) and deleting the files again. It is usually
okay to leave several files in there if you are unable to delete them.
Close the Find Files window when you are done.
3. Empty your recycle bin. Shortcut: right-click the recycle bin and
hit Empty Recycle Bin.
Just copy them to another folder, then run sysedit and clean them out.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.