Created
June 16, 2020 18:05
-
-
Save JohnLaTwC/140435fbf5bb3cd249e831b1dd44524c to your computer and use it in GitHub Desktop.
handy macros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;= bookmark and GO commands: | |
b=setx _bm$1 "%CD%" 1>nul && set _bm$1="%CD%" 1>nul && @echo Bookmarked %CD% in $1. | |
g=pushd . && cd /d %_bm$1% | |
;= quickly edit the macro file | |
em=start /WAIT notepad %userprofile%\cmd_macros.lst && doskey /macrofile=%userprofile%\cmd_macros.lst | |
;= convenience commands | |
..=cd .. | |
...=cd .. & cd .. | |
xd=md $* & cd $* | |
;= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment