Change directory with shortcuts in Windows Console.
- Download console script.
- Copy to
C:\Program_Files\Scripts
.- Add
C:\Program_Files\Scripts
toPATH
environment variable.
> ecd [-|[-|+|=]<path>]
:: [] -> optional argument
:: <> -> argument value
:: change to DOSBox directory
> ecd "C:\Program Files (x86)\DOSBox-0.74"
:: change to up one directory
> ecd ..
:: stay at current directory (list contents)
> ecd .
:: change to previous directory
> ecd -
:: add current directory as shortcut
> ecd +dosbox
:: change to root directory
> ecd C:\
:: change to DOSBox directory using shortcut
> ecd =dosbox
:: remove DOSBox shortcut
> ecd -dosbox
:: add relative path shortcut
> ecd +up3 ../../..
:: go up 3 directories
> ecd =up3
:: remove relative path shortcut
> ecd -up3