Last active
August 17, 2025 08:33
-
-
Save gianmaria/9e50d7fbe460cf2dd6ff36377cf1421f to your computer and use it in GitHub Desktop.
aliases for windows cmd
This file contains hidden or 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
| :: copy the full path of this file (C:\Dev\bin\aliases.bat) | |
| :: in the value Autorun in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\ | |
| @echo off | |
| doskey cd.. = cd .. | |
| doskey .. = cd .. | |
| doskey h = cd %USERPROFILE% | |
| doskey proj = cd C:\Workspace\projects | |
| doskey ls = dir $* | |
| doskey cat = type $* | |
| doskey l = dir /b $* | |
| doskey ll = dir /a /b $* | |
| doskey lll = dir /q /a /c /4 $* | |
| doskey c = cls | |
| doskey grep = findstr $* | |
| doskey env = set $* | |
| doskey alias = doskey /MACROS:ALL | |
| doskey e = explorer $* | |
| doskey pwd = cd | |
| REM doskey . = cd %USERPROFILE% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment