Windows system command lines

PC Software. Anything to do with PC Games & software!

Windows system command lines

Postby crayfish » Wed May 28, 2003 5:46 am

A supposedly computer literate friend told me to add this command line to my autoexec.bat file; C:/WINDOWS/COMMAND/scanreg\opt and to add ram clearing lines to my .dll files. what does this command line do? And what are ram clearing lines? I am running Win98(II) I don't want to mess about with my system and stuff it up totally!  :P
Honey!? Did you see where I put the keys for the 747????????
User avatar
crayfish
Ground hog
Ground hog
 
Posts: 21
Joined: Sat Feb 23, 2002 8:17 am
Location: Republic of Slovenia

Re: Windows system command lines

Postby WebbPA » Thu May 29, 2003 6:52 am

Scanreg/opt is Scanreg run under pure DOS (not a DOS window) with an optimize/compact registry command attached.  That's why you would need to run it from an autoexec file, before Windows starts, or from any pure DOS file.

It's made by MS so they may have more documentation on it.  I have 3 or 4 registry cleaners and compactors and all of them have their pros and cons.  I had forgotten about this one - after all, who uses DOS anymore?

Con - I just ran it and it took about 10 seconds so that's time that's going to be added to every boot.  But I reboot several times a day because I boot into several different configurations - if you only boot once a day it's hardly going to be noticeable.

Pro - I noticed an immediate and substantial system speedup.  I wish I had remembered to check the size of my registry before and after.  It was so substantial that I'm considering adding it to my autoexec file.

As for the RAM cleaning my understanding is that some .dll's remain cached - inactive but still in memory.  Having frequently used .dll's in cache can speed up execution because they don't have to be reloaded while infrequently used ones slow the system by taking up RAM that could be used for other purposes.

I have an ancient system (2 yrs old, 256 Mb RAM) and I have my system.ini configured for conservative swap file usage (forces the system to use available RAM before using the swap file) so I use MaxMem by AnalogX (free at http://www.analogx.com/contents/downloa ... maxmem.htm) which cleans out the RAM either manually or at a predefined level.  It has a nifty little systray icon that shows graphic memory use and it cleans up RAM left allocated by programs that don't properly free up RAM when closed (a lot of MS progs in this category).
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Windows system command lines

Postby crayfish » Fri May 30, 2003 7:55 am

Thanks for the info mate. I've tried several memory clearing utilities with all of them causing FPS drops in FS2002, so I'm very much over them.   ::)
Honey!? Did you see where I put the keys for the 747????????
User avatar
crayfish
Ground hog
Ground hog
 
Posts: 21
Joined: Sat Feb 23, 2002 8:17 am
Location: Republic of Slovenia


Return to Computer Games & Software

Who is online

Users browsing this forum: No registered users and 91 guests