Skip to content
forked from trzecieu/alias

Create dynamic aliases for command line in Windows

License

Notifications You must be signed in to change notification settings

VladimirCores/alias

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic alias creator for system Windows.

##Features

  • execute program in fork, or in current command line
  • custom static invoke arguments

##Alternatives:

  • DOSKEY: This doesn't work outside command line
  • Shortcuts (*.lnk): doesn't work for CMD

##Requirements:

  • python
  • folder with script in system PATH

##EXAMPLES: ####1) Register this script as new alias with name 'alias':

python C:\path\to\alias.py add alias python C:\path\to\alias.py

####2) Register notepad with alias 'n':

python C:\path\to\alias.py add n notepad --fork

or if you already registered this script as an 'alias'

alias add n notepad --fork

Now in any place you can just type:

n text.txt

###And it will work! Please note that --fork is important in this case. It will allow to invoke notepad and do not block console. In most cases this is useful for GUI applications.

About

Create dynamic aliases for command line in Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%