-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalias.cmd
More file actions
40 lines (31 loc) · 949 Bytes
/
Copy pathalias.cmd
File metadata and controls
40 lines (31 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
REM 1. Create file alias.cmd
REM 2. open regedit > HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Command Processor
REM 3. Add new String Value. Name: AutoRun; Data: Path_to_alias.cmd
DOSKEY alias=notepad %USERPROFILE%\alias.cmd
DOSKEY cdm=D: ^& cd D:\Hacking\me
DOSKEY cdh=D: ^& cd D:\Hacking
DOSKEY cdu=C: ^& cd %USERPROFILE%
DOSKEY l=dir /B
DOSKEY ls=dir /B
DOSKEY ll=dir /B
DOSKEY clear=cls
DOSKEY gdf=git diff $*
DOSKEY gcm=git commit $*
DOSKEY gcl=git clone $*
DOSKEY gbr=git branch $*
DOSKEY gck=git checkout $*
DOSKEY gst=git status
DOSKEY gpull=git pull
DOSKEY gpush=git push
DOSKEY gpushdev=git push origin develop
DOSKEY gpushmas=git push origin master
DOSKEY cat=type $*
DOSKEY mkg=python manage.py makemigrations $*
DOSKEY mg=python manage.py migrate $*
DOSKEY dps=docker ps $*
DOSKEY dimg=docker images
DOSKEY drmi=docker rmi $*
DOSKEY dstart=docker start $*
DOSKEY dstop=docker stop $*
DOSKEY dexec=docker exec -it $*