Skip to content

manekovskiy/aliaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aliaser

This tool is built to bypass the restriction of the DOSKEY utility and allows to set up a list of console aliases (macros) from the batch files. It calls the same WinAPI function as DOSKEY - AddConsoleAlias. It means that alias (macros) definition rules are the same as in DOSKEY.

Command line parameters

Utility can accept a number of parameters:

-f, --file          Required. Alias file name.

-v, --verbose       (Default: True) Prints all messages to the standard
                    output.

-e, --executable    (Default: CMD.exe) The name of the executable to assign
                    aliases to.

Alias file name format:

Please refer to the alias-sample.txt file in this repository.

Usage examples:

Add aliases to the current console from myaliases.txt file:

aliaser -f myaliases.txt
aliaser --file myaliases.txt --verbose False

About

Command line utility for adding aliases for CMD.exe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published