📄 swapover.bat
字号:
@echo off
REM Catch bad usage
if "%1"=="" goto error
REM Treat options
if not "%1"=="-if" goto start
REM Option -if
:optif
set opt=%1 %2
shift
shift
goto start
REM Actual byte-swapping - use "for" to expand wildcards in %1
:start
if "%1"=="" goto quit
for %%f in (%1) do sb %opt% -over %%f
rem sb %opt% -over %1
shift
goto start
:error
REM Display usage
echo Usage:
echo %0 [-if xxx] file [file ...]
echo where xxx is one the conditional byteswapping option: big, little, or any
:quit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -