Gammadyne Corporation

Greg's Shell

GS.EXE is a free, alternative command-line shell for Windows.  It offers improved editing features, command history, and support for Aero Glass.

Screenshot of Greg's Shell

Key Features

  • Pressing the left arrow key does not perform a backspace, it lets you go back and change something without destroying everything that came after it.
  • Pressing the up and down arrow keys will cycle through a history of past commands (including commands from a previous session).
  • Pressing the insert key will toggle the editing mode between "insert" and "overwrite".
  • Ctrl+V will paste the clipboard into the command-line. This can be either text or files (files are pasted as quoted filepaths).
  • Pressing F7 will display the command history.  You can choose a command and press Enter to run it again, or Escape to cancel.
  • Pressing Ctrl+Left or Ctrl+Right will move to the previous/next word on the command-line.
  • If the "cd" command cannot find the folder, you will be presented with a list of folders that have a similar name or that have the same prefix.  You can then select one of these suggestions.
  • Pressing Alt+Insert will enter "free select and copy" mode.  Use the arrow keys to move anywhere in the console.  Hold down shift while moving with the arrow keys to select text.  Press Enter, Ctrl+C, or Ctrl+Insert to copy the selected text to the clipboard.  Or press Escape or Alt+Insert to cancel.

Configuration

The configuration file for GS.EXE is GS.INI.  This file is created the first time that GS runs.  Following is a description of each setting in GS.INI.

Section.EntryDefaultDescription
Colors.CurrentPath15Color of the prompt (which is the current path and ">").
Colors.CommandLine14Color of the command-line entered by the user.
Colors.Hilite206Color of the currently selected folder (when the user is presented with a list).
Colors.ExitCode11Color of the process exit code (when ReportStatus is 1).
Options.ExitOnEscape0If 1, the Escape key will exit GS if there is no entered text.
Options.ReportStatus0If 1, the exit code of a process is reported after it finishes.
Options.Glass0If 1, the entire background will use the Aero Glass effect. Requires Vista or later.
Options.HistoryImmediate0If 1, upon selecting a command from the history, the command is executed immediately.  Otherwise it is necessary to press the Enter key.
Options.NoHistory0If 1, the command history is not recorded between sessions.
Options.NoRedirect1If 1, the File System Redirector will be disabled.  GS will view the file system as a 64-bit app, even though it is 32-bit.
Options.Transparency0The transparency of the console window (from 0 to 255, where 0 is completely opaque).  Please note that if Glass is enabled, this transparency is additive to the transparency that is inherent with Glass.  Unfortunately it is not possible to reduce the transparency of Glass.

Color Codes

A color code is formed by adding a foreground color value to a background color value.

ColorForegroundBackground
Black00
Dark Blue116
Dark Green232
Dark Cyan348
Dark Red464
Dark Magenta580
Dark Yellow696
Light Gray7112
Dark Gray8128
Blue9144
Green10160
Cyan11176
Red12192
Magenta13208
Yellow14224
White15240

For example, if you want yellow text on a blue background, the color code would be 14 + 144 = 158.

Download

Click the button below to download version 10.1 of GS.EXE, released March 19th, 2024.