HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2019
0404
¤¿¤±¤·¥Ð¥Ã¥¯¥É¥í¥Ã¥×¥Õ¥¡¥¤¥ëÆâ¤Îʸ»úÎóÊÑ´¹¤ò¤¹¤ë¤È¡ÖECHO ¤Ï <OFF> ¤Ç¤¹¡£¡×¤¬Æþ¤Ã¤Æ¤·¤Þ¤¦6̤²ò·è


¤¿¤±¤·¥Ð¥Ã¥¯¥É¥í¥Ã¥×

¥ê¥ó¥¯

2019/4/4(Thu) 21:07:18|NO.87061

¤Ï¤¸¤á¤Þ¤·¤Æ¡¢½õ¤±¤Æ²¼¤µ¤¤¡£
­£aaa2.txt¤ÎÃæ¿È¤Ç¡ÖECHO ¤Ï <OFF> ¤Ç¤¹¡£¡×¤Îʸ»ú¤¬½Ð¤Ê¤¤¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¤¬
¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
²¿Â´¡¢¤è¤í¤·¤¯¤ª´ê¤¤Ãפ·¤Þ¤¹¡£


­¡aaa.txt¤ÎÃæ¿È
¢­

¤É¤ó·ª ¤Ï¤Þ·ª ¤¤¤¬·ª

­¢bat¥Õ¥¡¥¤¥ë¤ÎÃæ¿È
¢­

@echo off for %%a in (*.txt) do ( set keyword=%%a ) set keyword=%keyword:.txt=% set beforestr=·ª set afterstr=¥°¥ê setlocal enabledelayedexpansion for /f "delims=" %%a in (!keyword!.txt) do ( set line=%%a echo !line:%beforestr%=%afterstr%! >> !keyword!2.txt ) endlocal del %keyword%.txt

­£aaa2.txt¤ÎÃæ¿È¡¡¢«¡Ú­¢¤Îbat¤ò¼Â¹Ô¤·¤¿·ë²Ì¡¢½ÐÎϤµ¤ì¤ë¥Õ¥¡¥¤¥ë¡Û

¤É¤ó¥°¥ê ECHO ¤Ï <OFF> ¤Ç¤¹¡£ ¤Ï¤Þ¥°¥ê ECHO ¤Ï <OFF> ¤Ç¤¹¡£ ¤¤¤¬¥°¥ê



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


GENKI

¥ê¥ó¥¯

2019/4/4(Thu) 23:59:17|NO.87067

¤É¤¦¤â¤Ï¤¸¤á¤Þ¤·¤Æ¡£

¤½¤ì¤Ë¤·¤Æ¤â¤¦¡¼¤ó¡ÄHSP¤È¤Ê¤ó¤Î´Ø·¸¤¬¤¢¤ë¼ÁÌä¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£
¤â¤¦¾¯¤·¤Ê¤ó¤È¤«¤Ê¤é¤Ê¤«¤Ã¤¿¤Î¤«¡Ä¤È¤Ï»×¤¦¤â¤Î¤Î̵²óÅú¤â¤Ê¤ó¤Ê¤Î¤Ç´Êñ¤Ë¡£

ECHO¤Ï¥¹¥Ú¡¼¥¹³«¤±¤º¤Ë¥É¥Ã¥ÈÂǤƤжõ¹Ô¤ò½ÐÎϤ·¤Þ¤¹¡£
¤¢¤È¤Ïifʸ¤Ç¤Ê¤ó¤È¤«¤Ê¤ë¤ó¤¸¤ã¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£

»²¹Í
https://www.k-tanaka.net/windows/cmd/echo.html

setlocal¤ÏºÇ½é¤Ë¤ä¤Ã¤¿¤Û¤¦¤¬ÌµÆñ¤Êµ¤¤¬¤¹¤ë¤±¤É¡Ä¤Þ¤¢¤¤¤¤¤«¡£
¼¡²ó¤«¤é¼ÁÌä¤ÏHSP´ØÏ¢¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£¾Ü¤·¤¯¤Ï±¦¾å¤Î¥ê¥ó¥¯¡Ö»È¤¤Êý¡×¤ò»²¾È¤¯¤À¤µ¤¤¡£



Àã·îÌë

¥ê¥ó¥¯

2019/4/5(Fri) 08:14:50|NO.87069

aaa.txt¤Î¶õ¹Ô¤Ë¸«¤¨¤ë¤È¤³¤í¤Ã¤Æ¤è¤¯¸«¤ë¤È¥¿¥Öʸ»ú¤¬Æþ¤Ã¤Æ¤Þ¤¹¤Í
¥¿¥Öʸ»ú¤´¤È½ÐÎϤ·¤¿¤¤¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡©
»ä¤ÎÊý¤Ç¤âÄ´¤Ù¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¤¹¤¤¤Þ¤»¤óÎϤˤʤ줽¤¦¤Ë¤Ê¤¤¤Ç¤¹

²¿¤Î²ò·è¤Ë¤â¤Ê¤é¤Ê¤¤¤Ç¤·¤ç¤¦¤¬¡¢HSP¤ÇÆ°¤­¤òºÆ¸½¤·¤Æ¤ß¤Þ¤·¤¿

#packopt name "batch" #packopt hide 1 #include"mod_regexp.as" screen 0,,,2 sdim text,10000000 sdim filelst,10000 dim files,10000 sdim gline,10000 dirlist filelst,"*.txt",1 split filelst,"\n",files beforestr="·ª" afterstr="¥°¥ê" notesel text repeat length(files):fid=cnt if files(fid)="":break noteload files(fid) repeat notemax noteget gline,cnt gline=replace(gline,beforestr,afterstr) noteadd gline,cnt,1 loop notesave dir_cur+"\\"+getpath(files(fid),1+8)+"2"+getpath(files(fid),2) delete files(fid) loop noteunsel end
¤³¤ì¤òCtrl+F9¤Ç¼Â¹Ô¥Õ¥¡¥¤¥ë²½¤¹¤ì¤Ð¡¢batch.bat¤ÈƱ¤¸¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬½ÐÍè¤Þ¤¹¤¬¡Ä¡Ä



¤¿¤±¤·¥Ð¥Ã¥¯¥É¥í¥Ã¥×

¥ê¥ó¥¯

2019/4/5(Fri) 12:17:58|NO.87074

GENKI¤µ¤ó¡¢Àã·îÌ뤵¤ó

¤´ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
Åê¹Æ¤¹¤ë¾ì½ê¤¬°ã¤Ã¤¿ÍͤǤ¹¤ß¤Þ¤»¤ó¡£
¢¨°ìö¡¢²ò·è¤Þ¤Ç¤³¤³¤ËÅê¹Æ¤µ¤»¤Æ²¼¤µ¤¤¡£

¤³¤ì¤«¤é¡¢¶µ¤¨¤Æ夤¤¿¾ðÊó¤ÇÄ´ºº¤·¤Þ¤¹¡£
¿ÊŸ¤¢¤ê¤Þ¤·¤¿¤é¤´Ï¢Íí¤µ¤»¤Æ夭¤Þ¤¹¡£



¤¿¤±¤·¥Ð¥Ã¥¯¥É¥í¥Ã¥×

¥ê¥ó¥¯

2019/4/5(Fri) 13:50:01|NO.87077

GENKI¤µ¤ó

¾å¼ê¤¯¹Ô¤­¤Þ¤»¤ó¡£
¤â¤¦¾¯¤·¥Ò¥ó¥È¤ò失¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£



¤¼¡¼¤Ã¤È¡ª

¥ê¥ó¥¯

2019/4/6(Sat) 16:22:30|NO.87097

>¤¿¤±¤·¥Ð¥Ã¥¯¥É¥í¥Ã¥×¤µ¤ó
¤³¤³¤Ï¥Ð¥Ã¥Á¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¸ì¤ê¹ç¤¦·Ç¼¨ÈĤǤϤʤ¤¤è¤¦¤Ç¤¹¤è¡£

¤Ç¡¢

¤¹¤ß¤Þ¤»¤ó¡¢ÆâÍƤò¤Ñ¤Ã¤È¸«¤À¤±¤Ç½ñ¤­¹þ¤à¤Î¤Ç¤¹¤¬¡¢

¥Ð¥Ã¥Á¥Õ¥¡¥¤¥ëÆ⥹¥¯¥ê¥×¥È¤Î½èÍý¤È¤·¤Æ¤Ï¡¢¥Õ¥¡¥¤¥ëÆâ¤Îʸ»úÎó¤ò°ì¹Ô¤º¤ÄÆɤ߹þ¤ó¤Ç
¤½¤ì¤òÉôʬ½ñ¤­´¹¤¨¤ò¤·¤Æ¡¢Ê̤Υե¡¥¤¥ë¤Ø°ì¹Ô¤º¤Ä½ÐÎϤ¹¤ë¡£¤È¤¤¤¦Î®¤ì¤Ç¤¹¤è¤Í¡©
ECHO ¤Ï <OFF> ¤Ç¤¹¡£

¤È¤¤¤¦Ê¸»ú¤¬¤É¤Î¤è¤¦¤Ê»þ¤Ëɽ¼¨¤µ¤ì¤ë¤«¤ò¤´Â¸ÃΤǤ·¤ç¤¦¤«¡£
¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤òµ¯Æ°¤·¤Æ¡¢¡Öecho¡×¤ÈÆþÎϤ·¤Æ¥¨¥ó¥¿¡¼¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£

for¤Ç°ì¹Ô¤º¤ÄÆɤ߹þ¤àºÝ¡¢¶õ¹Ô¤ò¤â½ÐÎϤ·¤Æ¤ë¤È¤¤¤¦¤À¤±¤À¤È¿ä¬¤¹¤ë¤Î¤Ç¤¹¡£
¤¢¤È¤Ï¸À¤ï¤º¤â¤¬¤Ê¡£



¤µ¤¯¤é

¥ê¥ó¥¯

2019/4/13(Sat) 19:18:25|NO.87160

²ò·è¤Ë¤Ï¤Ê¤é¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¤±¤É¡¢Ã±½ã¤Ë²þ¹Ô¤µ¤»¤Æ¤Ï¥À¥á¤Ç¤¹¤«?

echo. !line:%beforestr%=%afterstr%! >> !keyword!2.txt

¡Öecho¡×¥³¥Þ¥ó¥É¤Îľ¸å¤Ë¥Ô¥ê¥ª¥É¡Ö.¡×¤òÉÕ¤±¤Þ¤·¤¿¡£



ONION software Copyright 1997-2023(c) All rights reserved.