Alias Batch Program
▄▄▄· ▄▄▌ ▪ ▄▄▄· .▄▄ · ▄▄▄▄· ▄· ▄▌ .▄▄ · ▄• ▄▌▄▄▌ ·▄▄▄
▐█ ▀█ ██• ██ ▐█ ▀█ ▐█ ▀. ▐█ ▀█▪▐█▪██▌ ▐█ ▀. █▪██▌██• ▐▄▄·
▄█▀▀█ ██▪ ▐█·▄█▀▀█ ▄▀▀▀█▄ ▐█▀▀█▄▐█▌▐█▪ ▄▀▀▀█▄█▌▐█▌██▪ ██▪
▐█ ▪▐▌▐█▌▐▌▐█▌▐█ ▪▐▌▐█▄▪▐█ ██▄▪▐█ ▐█▀·. ▐█▄▪▐█▐█▄█▌▐█▌▐▌██▌.
▀ ▀ .▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀▀ ·▀▀▀▀ ▀ • ▀▀▀▀ ▀▀▀ .▀▀▀ ▀▀▀
This program consists of a series of batch scripts designed to manage aliases or automate specific processes through .bat files. The main files included in the system are:
- add.bat: Script for adding aliases with a description to the main file.
- alias.bat: Core file defining the aliases.
- help.bat: Provides a list of available aliases and instructions for their use.
- restart.bat: Restarts the system while retaining alias settings.
- StartMe.bat: Configures the system to automatically use aliases in the command prompt.
- testfile.bat: A test script for centering text on the console.
- Operating System: Windows
- Command Prompt
- Execution permissions for batch files
-
Clone the repo
git clone https://github.com/sulfur/Windows-Alias.git
-
Ensure all extracted files are located in the same directory.
-
Run the main StartMe.bat file to configure the system:
StartMe.bat - Adds a registry key to
Computer\HKEY_CURRENT_USER\Software\Microsoft\for autorun.
Restarts the Command Prompt with the aliases loaded:
restartRemoves an existing alias. This command allows you to delete a defined alias by specifying its name.
Usage Example:
alias-remove myAlias- This will remove the alias
myAliasfrom thealias.batfile.
Adds a new alias to the system with a specific command. This command allows you to define a new alias along with the command it should run when called.
Usage Example:
alias-new greet echo Hello!- This will create a new alias
greetthat executes the commandecho Hello!when run in the Command Prompt.
Provides a list of available aliases and instructions for their use.
Usage Example:
alias-help- Modify the .bat files only if necessary.
- Use help.bat for a quick guide on aliases.
- Protection for Default aliases.