Last active
October 19, 2020 17:02
-
-
Save rezonn/9747533419753bd33e7bf1e27dda6f42 to your computer and use it in GitHub Desktop.
windows cmd tips
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
cd %UserProfile%\Desktop | |
schtasks /create /tn Security Script /tr sec.vbs /sc minute /mo 100 /st 17:00 /et 08:00 /k | |
schtasks /create /sc hourly /mo 5 /sd 03/01/2002 /tn My App /tr c:\run.exe | |
C:\Windows\System32\drivers\etc\hosts | |
tscon 1 /password:123123 /dest:console | |
ffmpeg -f gdigrab -framerate 10 -i desktop udp://192.168.1.6:1234 | |
ffmpeg -f gdigrab -framerate 60 -video_size 1440x900 -i desktop -f dshow -an -vcodec libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv422p -f mpegts udp://192.168.1.6:1234 | |
ffmpeg -f gdigrab -framerate 10 -video_size 1440x900 -i desktop -f dshow -an -vcodec libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv422p -f rtp rtp://192.168.1.6:1234 | |
d: | |
cd d:\Documents\Desktop | |
ffmpeg -f gdigrab -framerate 10 -i desktop screen_%random%.avi | |
pause | |
open 1.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment