-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoskeys.bat
191 lines (155 loc) · 11.7 KB
/
doskeys.bat
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
::net user vadim.phystech /active:yes
@echo off
color 0a
::chcp 65001
echo UPDATE DOSKEYS.BAT!
echo see C:\%USERPROFILE%\keep-in-mind.txt (for example: registry backup)
::actual doskeys
::echo "PATH TO USER DIRECTORY:" %USERPROFILE%
::ld = load doskeys
doskey mears=cd C:\Users\79951\Documents\Task-Stack-Widget\task-data\2774 $T$T C:\Python39\python.exe "C:\Users\79951\Documents\Task-Stack-Widget\task-data\2774\measure_frequency_sensitivity-1.py"
doskey blender="C:\Program Files\Blender Foundation\Blender 2.93\blender.exe"
set bandicam=%USERPROFILE%\Documents\Bandicam
doskey keepinmind="C:\Program Files\Notepad++\notepad++.exe" %USERPROFILE%\keep-in-mind.txt
doskey ld="%USERPROFILE%\scripts\doskeys.bat"
doskey dsks="C:\Program Files\Notepad++\notepad++.exe" %USERPROFILE%\scripts\doskeys.bat
::doskey colors=type C:\Users\2\Documents\colors.txt
doskey blue=color 09
doskey sky=color 03
doskey green=color 0a
doskey npp="C:\Program Files\Notepad++\notepad++.exe" $*
doskey qq=exit
doskey docs=cd %USERPROFILE%\Documents
doskey home=cd %USERPROFILE%
doskey vlc0=taskkill /f /im vlc.exe
doskey yt=C:\Python39\Scripts\youtube-dl.exe $*
doskey mesar=cd C:\Users\79951\Documents\Task-Stack-Widget\task-data\2771 $T$T C:\Python39\python.exe "C:\Users\79951\Documents\Task-Stack-Widget\task-data\2771\measure-physiology-reaction-v1.py"
doskey kr=%USERPROFILE%\scripts\keyrate\keyrate.cmd $*
:: 140 35
::doskey ffmpeg=C:\Windows\System32\ffmpeg.exe $*
::doskey fmpeg=C:\Users\2\ffmpeg.exe $*
doskey cr="C:\Program Files\Google\Chrome\Application\chrome.exe" $*
::doskey vlc1="C:\Program Files\VideoLAN\VLC\vlc.exe" $*
::doskey ffplay=C:\Windows\System32\ffplay.exe $*
::doskey putty=C:\PuTTY\putty.exe $*
::doskey sftp=C:\PuTTY\psftp.exe $*
::doskey plink=C:\PuTTY\plink.exe $*
::doskey mcssh=C:\PuTTY\putty.exe -i D:\pi23_MCS_server\1.ppk [email protected]
::doskey jn=C:\Python27\Scripts\jupyter-notebook.exe
doskey sh=C:\cygwin64\Cygwin.bat $*
doskey sq=C:\sqlite\sqlite3.exe $*
doskey procexp="C:\Users\2\Downloads\ProcessExplorer\procexp.exe"
doskey p3=C:\Python39\python.exe -i $*
doskey p3pip=C:\Python39\python.exe -m pip $*
doskey p36=C:\Python36\python.exe -i $*
doskey p37=C:\Python37\python.exe -i $*
doskey p2=C:\Python27\python.exe -i $*
::doskey fixtab=C:\Python27\python.exe C:\Users\2\Documents\tab2spaces.py $*
::doskey jn=C:\Python36-64\Scripts\jupyter-notebook.exe $*
::doskey SqlLocalDB="C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe" $*
::##################################################################################
::FFMPEG
::doskey rec10=ffmpeg -f gdigrab -framerate 10 -video_size 1364x768 -i desktop out.mp4
doskey x2=ffmpeg -i $1 -filter:v "setpts=0.5*PTS" $2
doskey x10=ffmpeg -i $1 -filter:v "setpts=0.1*PTS" $2
doskey x50=ffmpeg -i $1 -filter:v "setpts=0.02*PTS" $2
doskey replace_audio=ffmpeg -i $1 -i $2 -c:v copy -map 0:v:0 -map 1:a:0 $3
doskey rec2=ffmpeg -f gdigrab -framerate 2 -video_size 1364x768 -i desktop out.mp4
doskey rec15=ffmpeg -f gdigrab -framerate 15 -video_size 1364x768 -i desktop out.mp4
doskey rec10=ffmpeg -rtbufsize 1024M -f gdigrab -i desktop -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -f dshow -i "audio=virtual-audio-capturer" -filter_complex amix -y -ac 1 -r 10 -preset veryfast -crf 22 $1.mp4
doskey rec10=ffmpeg -rtbufsize 1024M -f gdigrab -framerate 10 -video_size 1366x768 -i desktop -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -f dshow -i "audio=virtual-audio-capturer" -filter_complex amix -y -ac 1 -r 10 -preset veryfast -crf 22 $1.mp4
doskey rec10_2=ffmpeg -rtbufsize 1024M -f gdigrab -offset_x 1366 -offset_y 0 -video_size 1920x1080 -i desktop -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -f dshow -i "audio=virtual-audio-capturer" -filter_complex amix -y -ac 1 -r 10 -preset veryfast -crf 22 $1.mp4
doskey rec10_2vam=ffmpeg -rtbufsize 1024M -f gdigrab -offset_x 1366 -offset_y 0 -video_size 1920x1080 -framerate 10 -i desktop -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -f dshow -i "audio=virtual-audio-capturer" -filter_complex amix -y -ac 1 -r 10 -preset veryfast -crf 22 $1.mp4
doskey rec10_2va=ffmpeg -rtbufsize 1024M -f gdigrab -offset_x 1366 -offset_y 0 -video_size 1920x1080 -framerate 10 -i desktop -f dshow -i "audio=virtual-audio-capturer" -preset veryfast -crf 22 $1.mp4
doskey rec10_2v=ffmpeg -rtbufsize 1024M -f gdigrab -offset_x 1366 -offset_y 0 -video_size 1920x1080 -framerate 10 -i desktop $1.mp4
doskey recamv=ffmpeg.exe -y -f dshow -i video="screen-capture-recorder" -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -filter_complex "[1:0][2:0]amix=inputs=2:duration=shortest" -vcodec libx264 -preset veryfast -pix_fmt yuv420p -s 640x480 -r 8 -c:a aac -ab 64k -ac 2 -ar 16000 -f mp4 outputfile.mp4
doskey recam=ffmpeg.exe -y -f dshow -f dshow -i audio="virtual-audio-capturer" -f dshow -i audio="Микрофон (Realtek High Definition Audio)" -filter_complex "[1][0]amix=inputs=2:duration=shortest" $1.wav
doskey ffmpegkill=taskkill /IM ffmpeg.exe
::doskey shcam=ffmpeg -f dshow -framerate 15 -video_size 320x240 -i video="Integrated Camera" -pix_fmt yuv420p -f mpegts - | ffplay -analyzeduration 10 -f mpegts -
::doskey shcam=C:\Users\2\Documents\Task-Stack-Widget\task-data\1363\solution.cmd
::##################################################################################
::doskey SQLCMD110="C:\Program Files\Microsoft SQL Server\110\Tools\Binn\SQLCMD.exe" $*
::doskey bcp110="C:\Program Files\Microsoft SQL Server\110\Tools\Binn\bcp.exe" $*
::doskey dumpbin64="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\dumpbin.exe" $*
::doskey dumpbin32="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\dumpbin.exe" $*
::doskey chrome="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" $*
doskey sqlite="%USERPROFILE%\Documents\sqlite\sqlite3.exe" $*
::doskey wsldir=cd "C:\Users\2\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs"
doskey wsldir=pushd \\wsl$\Ubuntu-20.04\home
::doskey copy_wsldir =echo "C:\Users\2\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs" | clip
::doskey junction="C:\Users\2\Documents\Scripts\Junction\junction.exe"
doskey exp=explorer %CD% $*
:: Notice "%%h" instead of "%h" AND "%%x0D" in the end - a fix for batch script.
:: QUICK CD NAVIGATE SHORTCUTS.
::doskey f1=cd C:\Users\2\Documents\Task-Stack-Widget\
::doskey f2=cd C:\Users\2\Documents\Task-Stack-Widget\task-data\
::doskey f3=cd C:\
::doskey f4=cd C:\Windows\Microsoft.NET
::doskey f5=cd C:\Users\2\Documents\Task-Stack-Widget\task-data\1206
doskey reboot=shutdown /f /r /t 1
doskey sleep=rundll32.exe powrprof.dll,SetSuspendState 0,1,0
doskey ls=dir $*
::git
doskey giche=git checkout $*
doskey gcm=git commit -m $*
doskey undo="C:\Users\2\Documents\git-tutorial\git-undo.bat"
doskey ga=git add -A
doskey git-bash="C:\Program Files\Git\git-bash.exe"
doskey gpu=git push origin main
doskey gpuster=git push origin master
doskey gpull=git pull origin main
doskey gpullster=git pull origin master
::doskey gitlog=git log --date=format:"%%Y-%%m-%%d %%H:%%M" --pretty=format:"%%h%%x09%%ai%%x09%%Cblue%%s%%x0D"
doskey gitlog=git log --pretty=format:"%%h%%x09%%ai%%x09%%Cblue%%s%%x0D"
doskey githelp="C:\Program Files\Git\mingw64\share\doc\git-doc\git.html"
::doskey g=echo TURBO GIT MACRO ^&^& git add -A ^&^& git commit -m "$1" ^&^& git push origin master
::usage: >g COMMENT
doskey g=git add -A $T$T git commit -m "$1" $T$T git push origin master
::doskey d1=echo DOSKEY A1 $T$T echo DOSKEY A2
:: this is better:
::doskey d2=echo DOSKEY B1 ^&^& echo DOSKEY B2
:: with argument:
::doskey d3=echo DOSKEY B1 $1 ^&^& echo DOSKEY B2
doskey rovlc= "C:\Users\2\Documents\Task-Stack-Widget\task-data\1268\drops_moc_fild11_3_snap_nolightmap_20fps.mp4"
doskey tsw=cd %USERPROFILE%\Documents\Task-Stack-Widget $T$T %USERPROFILE%\Documents\Task-Stack-Widget\run.bat
:: [CSHARP][C#]
doskey ildasm="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ildasm.exe" $*
doskey csc="C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" $*
doskey csc324="C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" $*
doskey csc644="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" $*
doskey ilasm644="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe" $*
doskey ilasm324="C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe" $*
doskey mdbg="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\MDbg.0.1.0\tools\Mdbg.exe" $*
doskey wherecontexmenu=type C:\Users\2\Documents\Task-Stack-Widget\task-data\1282\wherecontexmenu.txt
::django
doskey dja="C:\Python36-64\Scripts\django-admin.exe" $*
doskey task=cd %USERPROFILE%\Documents\Task-Stack-Widget\task-data\$1
::c++
doskey msvcdir=cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
doskey cl="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.exe" $*
doskey vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
doskey vcvars64="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
doskey vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"
doskey expcd=explorer %%cd%%
::gcloud
::doskey gcl="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" $*
::doskey gstop="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" compute instances stop instance-5
::doskey gstop2="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" compute instances stop instance-6
::doskey gstart="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" compute instances start instance-5
::doskey gstart2="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" compute instances start instance-6
::doskey gcloud="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" $*
::doskey centos="C:\Users\2\AppData\Local\Google\Cloud SDK\google-cloud-sdk.staging.staging\bin\gcloud.cmd" beta compute --project "mystic-song-226805" ssh --zone "us-central1-a" "instance-6"
::doskey winserver="C:\Windows\System32\mstsc.exe" C:\Users\2\Documents\Task-Stack-Widget\task-data\1032\instance-5.rdp
::doskey ws="C:\Windows\System32\mstsc.exe" C:\Users\2\Documents\Task-Stack-Widget\task-data\1032\instance-5.rdp
::doskey qtdemo=C:\Python36-64\python.exe C:\Python36-64\Lib\site-packages\PyQt4\examples\demos\qtdemo\qtdemo.pyw
:: LINUX TOOLS
doskey grep=C:\cygwin64\bin\grep.exe $*
::PYTHON TOOLS
::doskey p2help="C:\Python36-64\Doc\python365.chm"
doskey p3help=C:\Python39\Doc\python392.chm
doskey anya=cd C:\Users\79951\Documents\Task-Stack-Widget\task-data\2673 $T$T C:\Python39\python.exe bidistacha-threads-generate-preserve-tasks.py
doskey cleanup1=echo "PSAdmin.exe dism.exe /online /CleanupImage /StartComponentCleanup /ResetBase"
doskey keylog=cd %USERPROFILE%\Documents\Task-Stack-Widget\task-data\2780 $T$T C:\Python39\python.exe C:\Users\79951\Documents\Task-Stack-Widget\task-data\2780\keyboard-log-1.py
doskey winlog=cd %USERPROFILE%\Documents\Task-Stack-Widget $T$T C:\Python37\python.exe C:\Users\79951\Documents\Task-Stack-Widget\WindowWatcher.py
doskey admin=runas /savecred /env /user:Администратор cmd.exe
doskey tasks=%USERPROFILE%\Documents\sqlite\sqlite3.exe C:\Users\79951\Documents\Task-Stack-Widget\appdata.db "SELECT id, name FROM (SELECT id, name FROM tasks ORDER BY id DESC LIMIT 25) ORDER BY id ASC"