- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- for /f %%a in ('type "%~f0"') do set "last=%%a"
- if "%last%" equ "exit" (
- (echo;&for /f "skip=3" %%a in ('getmac') do echo;%%a)>>"%~f0"
- goto end
- )
- set "f="
- for /f "skip=3" %%a in ('getmac') do (findstr /b "%%a" "%~f0"&&set f=1)
- if not defined f (goto end)
- echo;此处开始为mac相同时要执行的代码
- :end
- echo;%info%
- pause
- exit
复制代码
|