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 | |
set T=%~1 | |
shift | |
set P=%~1 | |
if defined P goto :next | |
echo 1. Save this file to %COMMANDER_PATH%\Plugins\ | |
echo 2. DragAndDrop this file to ButtonBar of totalCMD | |
echo 3. RightClick on the new button and select Change... | |
echo 4. Set field Parameters:"%%T" "%%P" %%S | |
rem "%T" "%P" %S |
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
mklink "C:\msys64\usr\bin\magic1.dll" "C:\msys64\usr\bin\msys-magic-1.dll" |
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 | |
echo This script via netsh set GATE and list of NS for uplink interface UP | |
echo Rename or mklink this script with real value where: | |
echo UP is name of uplink interface | |
echo If GATE omitted then IP, GATE and NS will be received from DHCP | |
echo If NS omitted then GATE is NS | |
echo After NS2 there may be NS3 and so on | |
echo This script via setx set global environment values: uplink as UP and gate as GATE | |
cd /d %~dp0 | |
call :ip %~n0 |
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
cd /d c:\msys64\mingw64\bin\ | |
call :youtube %~n0 | |
pause | |
goto :EOF | |
:youtube | |
youtube-dl -o "%~dp0\%%(playlist_title)s\%%(title)s.%%(ext)s" --ignore-config -f worstvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/channel/%1 --download-archive "%~dp0\%~n0.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
SetLocal EnableExtensions EnableDelayedExpansion | |
:forfiles | |
if "%~1"=="nul" ( | |
call :doit "%~2" | |
goto :EOF | |
) | |
:main | |
if "%~1"=="" ( | |
if not exist "%UserProfile%\SendTo\%~n0.lnk" ( |
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
setlocal enableDelayedExpansion | |
:forfiles | |
if "%~1"=="nul" ( | |
call :doit "%~2" | |
goto :EOF | |
) | |
:main | |
if "%~1"=="" ( |
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
SetLocal EnableExtensions EnableDelayedExpansion | |
:forfiles | |
if "%~1"=="nul" ( | |
call :doit "%~2" | |
goto :EOF | |
) | |
:main | |
if "%~1"=="" ( | |
if not exist "%UserProfile%\SendTo\%~n0.lnk" ( |
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
SetLocal EnableExtensions EnableDelayedExpansion | |
:main | |
echo Convert mvc to yt=sbsl rl=sbsr sbs=sbs2l rlq=sbs2r tab=ab2l ba=abr baq=ab2r ab=abl frameseq=alt lines=row arcd hdmi | |
echo Run "mvc2x.bat" without parameters to place it in "%UserProfile%\SendTo" | |
echo Send "c:\d\" to "mvc2x" | |
echo or drop it to "mvc2x.bat" | |
echo "c:\d\film\BD\BDMV\STREAM\00001.m2ts" and "c:\d\film\BD\BDMV\STREAM\00002.m2ts" will be used as mvc source | |
echo "c:\d\film\d.mkv" will be used as sound and metadata source | |
echo Then look at "c:\d\x\d.mkv" where x is you choose |
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
SetLocal EnableExtensions EnableDelayedExpansion | |
:forfiles | |
if "%~1"=="nul" ( | |
call :doit "%~2" | |
goto :EOF | |
) | |
:main | |
if "%~1"=="" ( | |
if not exist "%UserProfile%\SendTo\%~n0.lnk" ( |
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
@cd /d %~dp0 | |
@set cmd=%~n0 | |
%cmd:;=:% | |
@timeout /t 9 |