Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1773

Execute Command upon changing to a specific directory

$
0
0
When I change to my E:\Utils directory, I usually do a directory listing of files modified in the last day.

I have automated this with the following alias;
Code:
alias cd_enter=`if %1 eq e:\utils dir e:\utils /[d-0]`

Reference to CD_Enter: ALIAS command - create new command names

Posting mainly for my future reference, but thought others might also be interested in this tip.

Joe

Viewing all articles
Browse latest Browse all 1773

Trending Articles