Created
August 4, 2011 05:57
-
-
Save ne-sachirou/1124583 to your computer and use it in GitHub Desktop.
.cmdrc bat file
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
@echo off | |
doskey alias=if "$1"=="" (doskey /macros) else ^ | |
for /f "delims== tokens=1,*" %%i in ("$*") do^ | |
@if "%%j" neq "" (^ | |
doskey $*^ | |
) else (^ | |
doskey /macros ^| findstr /b /c:"%%i="^ | |
) | |
doskey unalias=doskey $*= | |
doskey history=doskey /history $* | |
doskey man=help $* | |
doskey ls=dir /w $* | |
doskey lsl=dir /n $* | |
doskey cp=copy $* | |
doskey mv=move $* | |
doskey pwd=echo %CD% | |
doskey cd=pushd $* | |
doskey po=popd $* | |
doskey logout=exit | |
doskey cygwin=C:\cygwin\Cygwin.bat | |
doskey setup_cygwin="C:\Users\ne_Sachirou\setup.exe -K http://cygwinports.org/ports.gpg" | |
doskey mingw=C:\MinGW\msys\1.0\msys.bat | |
doskey vc="c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" | |
cd %HOMEDRIVE%%HOMEPATH% | |
pik use 1.9.3 | |
goto :END | |
:END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/1124583/f4945c9c8b445a13a4f0a983757d5f76fb6254b7
Add Visual C++ 9.0