
±êÌâ: [Îı¾´¦Àí] ¡¾Òѽâ¾ö¡¿Åú´¦ÀíÎı¾ÄÚÈݵļì²éÏà¹Ø£¬Ð»Ð»ÄãÁË [´òÓ¡±¾Ò³]
×÷Õß: µÆËþÅíÓÚêÌ Ê±¼ä: 2021-5-19 20:21 ±êÌâ: ¡¾Òѽâ¾ö¡¿Åú´¦ÀíÎı¾ÄÚÈݵļì²éÏà¹Ø£¬Ð»Ð»ÄãÁË
±¾Ìû×îºóÓÉ µÆËþÅíÓÚêÌ ÓÚ 2021-5-20 12:39 ±à¼
ллÄãÁËÏÈ¡£
ÏÖÓÐÒ»¸ö1.txt£¬ÄÚÈÝÈçÏ£º- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤Ò¤È¤ê¤Ü¤Ã¤Á¤Ï¤µ¤Ó¤·¤¤¤±¤ì¤É - ¾ÅÊ®¾Å - pixiv|https://baidu.com/artworks/21383799]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤è¤í¤·¤¤¡¢¤Ê¤é¤Ð - hatsuko - pixiv|https://baidu.com/artworks/17587458]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« . - ÍûÔ¤±¤¤ - pixiv|https://baidu.com/artworks/88431986]
- [#³à¤¤Ó° ÊÀ½ç¤ò‰ä¤¨¤ëÁ¦¤¬ - hatsuko - pixiv|https://baidu.com/artworks/16996640]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ħ·¨ÉÙÅ® - vient - pixiv|https://baidu.com/artworks/31068063]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« Ææ¼£¤Îß - ¾õÐÑ - pixiv|https://baidu.com/artworks/17345647]
- ħ·¨ÉÙŮСԲ
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤Ò¤È¤ê¤Ü¤Ã¤Á¤Ï¤µ¤Ó¤·¤¤¤±¤ì¤É - ¾ÅÊ®¾Å - pixiv|https://baidu.com/artworks/21383799]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤è¤í¤·¤¤¡¢¤Ê¤é¤Ð - hatsuko - pixiv|https://baidu.com/artworks/17587458]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« . - ÍûÔ¤±¤¤ - pixiv|https://baidu.com/artworks/88431986]
- [#³à¤¤Ó° ÊÀ½ç¤ò‰ä¤¨¤ëÁ¦¤¬ - hatsuko - pixiv|https://baidu.com/artworks/16996640]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ħ·¨ÉÙÅ® - vient - pixiv|https://baidu.com/artworks/31068063]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« Ææ¼£¤Îß - ¾õÐÑ - pixiv|https://baidu.com/artworks/17345647]
- ħ·¨ÉÙŮСԲ
- ¹ĿԲ
- ÏþÃÀÑæ
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤Ò¤È¤ê¤Ü¤Ã¤Á¤Ï¤µ¤Ó¤·¤¤¤±¤ì¤É - ¾ÅÊ®¾Å - pixiv|https://baidu.com/artworks/21383799]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤è¤í¤·¤¤¡¢¤Ê¤é¤Ð - hatsuko - pixiv|https://baidu.com/artworks/17587458]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« . - ÍûÔ¤±¤¤ - pixiv|https://baidu.com/artworks/88431986]
- [#³à¤¤Ó° ÊÀ½ç¤ò‰ä¤¨¤ëÁ¦¤¬ - hatsuko - pixiv|https://baidu.com/artworks/16996640]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ħ·¨ÉÙÅ® - vient - pixiv|https://baidu.com/artworks/31068063]
- [#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« Ææ¼£¤Îß - ¾õÐÑ - pixiv|https://baidu.com/artworks/17345647]
- ħ·¨ÉÙŮСԲ
- ¹ĿԲ
¸´ÖÆ´úÂë
ÉÏÊöÄÚÈÝΪ 3×éÄÚÈÝ£¨Êµ¼ÊÉϸü¶à£© £¬Ã¿×éÄÚÈÝΪ6¸ö[#¿ªÍ·µÄÐÐ + ¼¸¸öÖÐÎÄ×ÖµÄÐÐ £¬ÆäÖÐ [#¿ªÍ·µÄÐÐÊǹ̶¨Îª6¸öµÄ£¬²»ÄܶàÒ²²»ÄÜÉÙ£¬¶øÖÐÎÄ×ÖµÄÐУ¬¼¸Ðж¼ÐУ¬Ã»ÓÐÒªÇó¡£
ÿÐÐÄÚÈÝ×îºóµÄÊý×Ö£¬ºÍ×ÀÃæÉ쵀 Êý×Ö.jpg ÎļþÊǶÔÓ¦µÄ¡£
ÏÖÔÚµÄÐèÇóÊÇ£º
1¡¢¼ì²é1.txtÖУ¬Ã¿×éÄÚÈÝÖÐ [# ¿ªÍ·µÄÐУ¬ÊÇ·ñΪ¹Ì¶¨6¸ö ¡£ÒòΪÓÐʱºò»á±£´æ³ö´í£¬[#ÉÙÁË1¸ö»òÕ߶àÁË1¸ö¡£
2¡¢¼ì²é1.txtÖУ¬Ã¿×éÄÚÈÝ×îºóµÄÊý×Ö£¬ÔÚ×ÀÃæÉÏÊÇ·ñ´æÔÚ¶ÔÓ¦µÄ Êý×Ö.jpg Îļþ¡£
±ÈÈçÎı¾ÖеÚÒ»Ðеģº[#ħ·¨ÉÙÅ®¤Þ¤É¤«¡î¥Þ¥®¥« ¤Ò¤È¤ê¤Ü¤Ã¤Á¤Ï¤µ¤Ó¤·¤¤¤±¤ì¤É - ¾ÅÊ®¾Å - pixiv|https://baidu.com/artworks/21383799] £¬ ×ÀÃæÉÏÓ¦¸ÃÒªÓÐÒ»¸ö 21383799.jpg µÄÎļþ¡£
¼ì²éµÄ½á¹û·Ö±ðÊä³öµ½A.txt£¨¼Ç¼[#ÊýÁ¿²»¶ÔµÄÐÐÊý£©ºÍB.txt £¨¼Ç¼ȱÉÙÎļþµÄÊý×Ö£¬Ã¿ÐÐ1¸ö£©ÖÐ £¬Èç¹û¶¼¶Ô£¬¾Í²»Êä³öÏà¹ØTXT¡£
лл~лл£¡
×÷Õß: µÆËþÅíÓÚêÌ Ê±¼ä: 2021-5-19 20:22
±§Ç¸£¬ÎÒËƺõÉÏ´«²»Á˸½¼þ£¬¾ÍÀÍ·³Äú¸´ÖÆ´úÂë±£´æÁË¡£±§Ç¸£¡
×÷Õß: newswan ʱ¼ä: 2021-5-19 23:03
±¾Ìû×îºóÓÉ newswan ÓÚ 2021-5-20 06:44 ±à¼
- @echo off
- setlocal enabledelayedexpansion
-
- set path=%gnupath%;%path%
- set r=0
- set n=0
- for /f "delims=" %%a in (1.txt) do (
- set /a r+=1
- set s=%%a
- if "!s:~0,1!"=="[" (
- set /a n+=1
- for /f "usebackq delims=" %%a in (`echo "%%a" ^| grep -E -o '[0-9]+'`) do (
- if not exist "%USERPROFILE%\desktop\%%a.jpg" echo !r!: %%a >>a.txt
- )
- ) else (
- if !n! neq 0 (
- if !n! neq 6 echo !r!: !n! >>b.txt
- )
- set /a n=0
- )
- )
¸´ÖÆ´úÂë
Óï·¨´íÎó£¬ÒÑÐÞ¸Ä
×÷Õß: µÆËþÅíÓÚêÌ Ê±¼ä: 2021-5-20 01:41
»Ø¸´ 3# newswan
ËƺõÊÇûÓÐЧ¹ûµÄ¡£ 
×÷Õß: qixiaobin0715 ʱ¼ä: 2021-5-20 06:50
- @echo off
- set n=0
- setlocal enabledelayedexpansion
- for /f "tokens=1* delims=:" %%a in ('findstr /n .* 1.txt') do (
- set "str=%%b"
- if "!str:~,2!"=="[#" (
- set "str1=%%~nb"
- if not exist "%HOMEPATH%\Desktop\!str1:~,-1!.jpg" echo,%%a£º²»´æÔÚÎļþ!str1:~,-1!.jpg£¡>>b.txt
- set /a n+=1
- ) else (
- if not !n!==0 if not !n!==6 echo,µÚ%%aÐÐÉÏÃæÒ»×éÓÐ!n!ÐÐ×é³É£¡>>a.txt
- set n=0
- )
- )
- pause
¸´ÖÆ´úÂë
Åú´¦ÀíÎļþºÍ1.txt·ÅÔÚͬһ¸öĿ¼¡£
×÷Õß: xp3000 ʱ¼ä: 2021-5-20 12:27
±¾Ìû×îºóÓÉ xp3000 ÓÚ 2021-5-20 17:47 ±à¼
- @echo off&Setlocal EnableDelayedExpansion
- set m=0&set n=0&type nul>"²»´æÔÚµÄÎļþ.TXT"&echo ¿ªÊ¼¶ÁÈ¡Îļþ 1.txt¡¡
- @for /f "delims=" %%a in ('type 1.txt^|findstr /n .*') do (set /a n+=1&set A=%%a
- @for /f tokens^=1^,2^,3^,*^ delims^=:""^| %%c in ('echo "!A!"^|findstr /r /n /C:"^\[.*http.*\]"') do (
- set C=%%c&set D=%%d&set E=%%e&set F=%%~f&set F=!F:^]^"=!&set fn=%%~nf&set fn=!fn:^]^"=!)
- if !n!==!D! (set /a m+=1
- if !m! equ 1 echo._____________________&echo.
- echo ¼ì²âµÚ!n!ÐУº!F!
- if not exist "%USERPROFILE%\desktop\!fn!.jpg" (echo ×ÀÃæûÓУº!fn!.jpg&echo !fn!.jpg>>"²»´æÔÚµÄÎļþ.TXT") else (echo ×ÀÃæ·¢ÏÖ£º!fn!.jpg)
- ) else (
- if !m! neq 0 echo.& echo ÒÔÉ϶ÎÂä¹²£º!m! ÐÐ&echo._____________________&echo.
- echo !n!ÐзÇÆ¥Å䣬ÖжÏÐÐ!D!&set m=0
- )
- )
- echo._____________________&echo.&echo 1.txt ¹² !n! ÐÐ&echo.
- pause
¸´ÖÆ´úÂë
ÕûÀíÁËÏ£¬È«²¿Ï»®¸Ü·Ö¶ÎºÃ¿´Ò»µã
»¶Ó¹âÁÙ Åú´¦ÀíÖ®¼Ò (http://bbs.bathome.net/) |
Powered by Discuz! 7.2 |