powercfg -changename 771e1d52-a886-4550-8cbc-a3cc74057b8d "Battery" "Lower CPU usage"
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
@ECHO OFF | |
REM DOWNLOAD ffmpeg first: https://www.gyan.dev/ffmpeg/builds/ | |
REM this one will extract the second subtitle from the video file. | |
ffmpeg -i "D:\Movies\TV Animacija\KonoSuba\Kono Subarashii Sekai ni Shukufuku wo! 2 [Dual]\[Cleo]Kono_Subarashii_Sekai_ni_Shukufuku_wo!_2_-_02_(Dual Audio_10bit_BD1080p_x265).mkv" -map 0:s:1 subs.srt | |
REM this one will extract srt subtitles without adding markup | |
ffmpeg -i "D:\Movies\TV Animacija\KonoSuba\Kono Subarashii Sekai ni Shukufuku wo! 2 [Dual]\[Cleo]Kono_Subarashii_Sekai_ni_Shukufuku_wo!_2_-_02_(Dual Audio_10bit_BD1080p_x265).mkv" -map 0:s:1 -c text subs.srt | |
PAUSE |
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
@ECHO OFF | |
setlocal enabledelayedexpansion | |
set "_string=--User="C:/Your Friend/ asd/aaa /here"" | |
echo %_string% | |
for /f "tokens=1* delims==" %%a in ("%_string%") do ( | |
echo %%a | |
echo %%b | |
) | |
endlocal |
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
@ECHO OFF | |
SETLOCAL EnableDelayedExpansion | |
ECHO TEST PRIVILEGIES > "%windir%\tcc_installation_privilegies.txt" | |
IF NOT EXIST "%windir%\tcc_installation_privilegies.txt" ( | |
ECHO PLEASE ELEVATE PRIVILEGIES BY RUNNING AS ADMINISTRATOR | |
PAUSE | |
EXIT /B | |
) | |
IF EXIST "%windir%\tcc_installation_privilegies.txt" DEL "%windir%\tcc_installation_privilegies.txt" |
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
@ECHO OFF | |
mklink "C:\Windows\symlink_file2.txt" "C:\Users\Windows10\real_file.txt" | |
PAUSE |
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
@ECHO OFF | |
CD "C:\GOG Games\Mount & Blade II Bannerlord\Modules\TheLandOfSika\bin\Win64_Shipping_Client" | |
FOR %%a in (*.dll) do (echo.>%%a:Zone.Identifier) | |
PAUSE |
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
@ECHO OFF | |
:: Imgur Client ID | |
:: https://api.imgur.com/oauth2/addclient | |
REM Imgur Client ID can be passed before running this script | |
REM SET "your_client_id=d6e7fbc968dfde0" | |
REM Imgur Client ID, only if Annonymous account is exhausted. | |
IF NOT DEFINED too_many_requests_your_client_id SET "too_many_requests_your_client_id=" |
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
lsblk | |
sudo apt-get install python3-distutils | |
curl -LOs https://archive.org/download/ia-pex/ia | |
chmod +x ia | |
./ia help | |
sudo ./ia configure | |
sudo ./ia upload TZMOfficialChannel "./archive/" | |
//sudo ./ia upload ia_20220829 "/media/mint/Operating System/Users/Windows10/Desktop/y2dpl/archive/" |