Assign Keyboard Shortcuts in Windows 95

Windows 95 revolutionized the personal computer interface by introducing a deeply customizable desktop environment, which included the ability to open applications and files using custom hotkeys. This article provides a concise overview of how Windows 95 implemented system-wide custom keyboard shortcuts via desktop icons, detailing the configuration steps, key combination requirements, and technical prerequisites needed to make them work.

The Desktop Shortcut Mechanism

In Windows 95, custom keyboard shortcuts were not assigned directly to raw executable files (.exe). Instead, they relied on Windows 95 shortcut files (bearing the .lnk extension). Users could create a shortcut on the desktop by right-clicking an empty space, navigating to "New," and selecting "Shortcut," or by dragging an executable while holding the right mouse button and choosing "Create Shortcut(s) Here."

How to Assign the Hotkey

Once a shortcut was present on the desktop, configuring a custom keystroke followed a simple process:

  1. Open Properties: Right-click the target desktop shortcut and select Properties from the context menu.
  2. Access the Shortcut Tab: In the Properties dialog box, switch to the Shortcut tab.
  3. Select the Shortcut Key Field: Click inside the field labeled Shortcut key, which displayed "None" by default.
  4. Enter the Keystroke: Press the desired key on the keyboard. Windows 95 would automatically format the combination into a valid sequence.
  5. Save Changes: Click Apply, then OK to register the hotkey.

Keystroke Rules and Limitations

Windows 95 enforced specific constraints to prevent shortcut keys from conflicting with standard application commands:

  • Default Modifier Combination: Pressing an alphanumeric character automatically assigned the prefix CTRL + ALT (for example, pressing the letter "W" resulted in CTRL + ALT + W).
  • Custom Modifiers: Users could manually specify combinations involving CTRL + SHIFT, ALT + SHIFT, or CTRL + ALT + SHIFT along with a chosen letter or number.
  • Prohibited Keys: System-reserved keys—such as ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, or BACKSPACE—could not be used as shortcut keys.
  • Resetting: To remove an assigned shortcut, a user simply selected the "Shortcut key" field again and pressed BACKSPACE or DELETE, returning the value to "None."

Location Prerequisite for System-Wide Activation

For the assigned keyboard shortcut to function globally across any open application, the corresponding .lnk file had to reside in one of two places: directly on the Desktop or within the Start Menu folder hierarchy (C:\Windows\Start Menu). Shortcuts placed inside arbitrary folders on the hard drive would not respond to keystrokes until that specific folder was open and active.