петак, 14. децембар 2012.

Compacting the Registry


How to compact the registry?
  1. Got to true DOS, not a DOS window
  2. Run Regedit and then export the entire Registry to COMPACT.REG.
  3. Then exit regedit and run it again with the following switch. REGEDIT /C COMPACT.REG

Opening a DOS Window to either the Drive or Directory in Explorer


Add or Edit the following Registry Keys
[HKEY_CLASSES_ROOT\Directory\shell\opennew]
@="Dos Prompt in that Directory"

[HKEY_CLASSES_ROOT\Directory\shell\opennew\command]
@="command.com /k cd %1"

[HKEY_CLASSES_ROOT\Drive\shell\opennew]
@="Dos Prompt in that Drive"

[HKEY_CLASSES_ROOT\Drive\shell\opennew\command]
@="command.com /k cd %1"
These will allow you to right click on either the drive or the directory and the option of starting the dos prompt there will pop up

Removing Unwanted Items from the RUN Menu



  1. Start the REGEDIT program
  2. Search for the word RUNMRU
  3. Delete the ones you don't want
  4. Rename so they are all in alphabetical order again
  5. Close and restart windows

Backing Up the Registry


There are many backup programs for the registry but if the computer goes down and you can't fire off Win95 because of the registry problem.
Backup to a directory the following files:
  • SYSTEM.DATA
  • SYSTEM.DA0 (Yes seem to be the same size)
  • USER.DAT
  • USER.DA0 (Same size likely)
  • WIN.INI
  • CONTROL.INI
  • SYSTEM.INI
These files can be copied to the windows directory from Win95 or DOS to help correct problems.

Easily Opening a File with Notepad


This will enable you to right click on any file and have the option to open it with notepad.
Also if a file has no association and you try to open it it will open with notepad
  1. Run 'regedit.exe'
  2. Expand "HKEY_CLASSES_ROOT"
  3. Inside "HKEY_CLASSES_ROOT", expand "*"
  4. Inside "*", create a key called "shell"
  5. Inside "shell" create a key called "open"
  6. Inside "open" edit the string "(default)" to say "open (notepad)"
  7. Inside "open" create a key called "command"
  8. Inside "command" edit the string "(default)" to say C:\WINDOWS\NOTEPAD.EXE "%1"

Enabling the Middle Mouse Button on Logitech Mouse


To enable the middle mouse button on Logitech Mouses to act as a double-click button by only pressing it once:
  1. Run Regedit
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\LOGITECH\MOUSEWARE\CURRENTVERSION\SERIALV\0000
  3. Change DoubleClick to equal 001

Removing the Hand Icon from Shared Resources


When you share a local resource, Windows95 normally puts a hand in from of that resources icon.
To remove hand icon from your shared resources:
  1. Start Regedit.
  2. Go to HKEY_CLASSES_ROOT / Network
  3. Open SharingHandler.
  4. Clear it's default value
  5. Restart Windows.
  6. To restore set Default value "msshrui.dll".