æ©è½ã®æ¡å¼µããã®3
ã³ãã³ãããã³ããã§ä½¿ç¨ãããã¼ã«ã®ç»é²
SW:0:ãç¨ãã¦åãã¦ããã¨ãããé ãã¦å®è¡ãããã¨ã«ãããã³ãã³ãããã³ãã*1ä¸ã§ä½¿ç¨ããã³ã³ã½ã¼ã«ããã°ã©ã ãX-Finderã®æ©è½ã®ä¸é¨ã®ããã«æ´»ç¨ã§ããã
以ä¸ã§ã¯ãã·ã¹ãã æ¨æºã®copyãxcopyãrenãdelãattribçã®æ´»ç¨ã«å ãããã¡ã¤ã«ç®¡çã«ä¾¿å©ãªããã°ã©ã ãç´¹ä»ããã
ååãå¤æ´ãã¦ã³ãã¼ãã
ãã¡ã¤ã«ã®ã³ãã¼ç¨ã®"copy"ã®ä½¿ç¨ä¾ã
ãã¡ã¤ã«åãå¤æ´ãã¦ã³ãã¼ [ãã¹] Input:"ãã¡ã¤ã«åå¤æ´ã³ãã¼","ãã¡ã¤ã«åãå¤æ´ãã¦ã³ãã¼","ãã¡ã¤ã«å","%FocusedName%" Sw:0:%ComSpec% /c copy "%Focused%" "%InputData%" Refresh:2 [åä½] å®è¡
ãã©ã«ãæ§é ã®ã³ãã¼ç¨ã®"xcopy"ã®ä½¿ç¨ä¾ã
ãã©ã«ãåãå¤æ´ãã¦ã³ãã¼ [ãã¹] ClipPath:2 Input:"ãã©ã«ãåå¤æ´ã³ãã¼","ãã©ã«ãåãå¤æ´ãã¦ã³ãã¼","ãã©ã«ãå","%clipboard%" xcopy /e /k /i /o /x "%Focused%" "%InputData%" Refresh:2 [åä½] å®è¡
ãã¡ã¤ã«ã®æ¡å¼µåãå¤æ´ãã
ãã¡ã¤ã«åå¤æ´ç¨ã®"ren"ã®ä½¿ç¨ä¾ã
ãã¡ã¤ã«ã®æ¡å¼µåãå¤æ´ããã©ã³ãã£ãã·ã¹ãã ã§æ¡å¼µåã表示ããªãè¨å®ã«ãã¦ãã¦ãæå¹ãï¼ç°å¢å¤æ°temp1ã追å è¨å®ãã¦ãããã¨ãåæï¼
æ¡å¼µåãå¤æ´ [ãã¹] ClipPath:2 Set:temp1=%clipboard% ClipPath:3 Input:"æ¡å¼µåã®å¤æ´","æ¡å¼µåã®ã¿å¤æ´","å¤æ´å¾ã®æ¡å¼µåï¼.以éï¼ãå ¥å","%temp1%" Sw:0:%ComSpec% /c ren %temp1% %clipboard%.%inputdata% Refresh:2 [åä½] å®è¡
å½¢å¼ãå±æ§ãæå®ãã¦ãã¡ã¤ã«ãåé¤ãã
ãã¡ã¤ã«åé¤ç¨ã®"del"ã®ä½¿ç¨ä¾ã
æå®ããæ¡å¼µåã®ãã¡ã¤ã«ãç¾å¨ã®ãã©ã«ãã¨ãã®ãµããã©ã«ãããåé¤ããã©ã³ãã£ãèªã¿åãå°ç¨ãã¡ã¤ã«ãå¼·å¶çã«åé¤ããã
å½¢å¼ãæå®ãã¦ãµããã©ã«ãããããã¡ã¤ã«ãåé¤ [ãã¹] Input:"ãã¡ã¤ã«åé¤","æ¡å¼µåãæå®ãã¦ãµããã©ã«ãããããã¡ã¤ã«ãåé¤","åé¤ããæ¡å¼µåãå ¥å","" Sw:0:%ComSpec% /c del /s /f /q *.%inputdata% Refresh:2 [åä½] å®è¡
æ¡å¼µåã¨å±æ§ãæå®ãã¦ãã¡ã¤ã«ãåé¤ããã©ã³ãã£ã
å½¢å¼ã¨å±æ§ãæå®ãã¦ãã¡ã¤ã«ãåé¤ [ãã¹] Input:"ãã¡ã¤ã«åé¤","æ¡å¼µåã¨å±æ§ãæå®ãã¦ãã¡ã¤ã«ãåé¤","åé¤ããæ¡å¼µåãå ¥å","" Set:temp1=%inputdata% Input:"ãã¡ã¤ã«åé¤","åé¤ãããã¡ã¤ã«ã®å±æ§ãæå®","r:èªå° s:シスï¾ï¾ a:アーカイï¾ï¾ h:é ("-a"ã¯ãèªå°ã¯åé¤ããªãã),"" Sw:0:%ComSpec% /c del /q /a:%inputdata% *.%temp1% Refresh:2 [åä½] å®è¡
å±æ§ãå¤æ´ãã
ç°å¢å¤æ°ã®é ãåç §ã
ãã¡ã¤ã«ã®ãªã¹ããä½æãã
é¸æã¢ã¤ãã ã®ãã¹ã X-Finderãã¤ã³ã¹ãã¼ã«ãããã©ã«ãã®path.txtã«æ¸ãè¾¼ãã©ã³ãã£ã
é¸æã¢ã¤ãã ã®ãã¹ãããã¹ãã«æ¸ã込㿠[ãã¹] SW:0:%ComSpec% /q /c ( for %I in ( %Selected% ) do echo %I ) >> %X-Finder%path.txt [åä½] å®è¡
ãã¡ã¤ã«ã®æ¦è¦ãå¤æ´ãã
bafgyksnï¼ããã®Part6-734ã§å
¥æï¼ã使ç¨ããã°ããã¡ã¤ã«ã®ããããã£ã®æ¦è¦ã¿ãã«è¡¨ç¤ºãããæ
å ±ãåå¾oræ¸ãæãããã¨ãå¯è½ã
ï¼ãã ããã¡ãã£ã¢ãã¡ã¤ã«ã«ã¯bafgyksnããç·¨éãã¦ãåæ ãããªãé
ç®ãããã®ã§æ³¨æï¼
é¸æããã¢ã¤ãã ã®ã³ã¡ã³ãã«ãéè¦ãã¨æ¸ãè¾¼ã [ãã¹] Foreach:Sw:0:%ComSpec% /c echo éè¦| ..bafgyksn -w -n comments "%Variable%" [åä½] å®è¡
ã¯ãªãããã¼ãã®æååãé¸æããã¢ã¤ãã ã®ã³ã¡ã³ãã«æ¸ãè¾¼ã [ãã¹] Foreach:Sw:0:%ComSpec% /c echo %clipboard%| ..bafgyksn -w -n comments "%Variable%" [åä½] å®è¡
å¤é¨ããã°ã©ã ã®æ´æ°ãè¡ã
é »ç¹ã«ã¢ãããã¼ãããã¦ããã½ããã®ä¸æ¸ãæ´æ°ãè¡ãã©ã³ãã£ãexeã®ã¿è§£åã»ä¸æ¸ããã¦ããã
æ¸åº«ãã¡ã¤ã«ãã½ãããã¨ã«ãã©ã«ãåããã¦ããã®ãåæã
ä¸è¨ã®ä¾ã ã¨æ¸åº«ã"C:\temp\aaa"ãã¤ã³ã¹ãã¼ã«ããã¦ããã®ã"C:\bin\aaa"
ã³ãã³ãã©ã¤ã³çã®7-zipã使ç¨ã
å®è¡ãã¡ã¤ã«ã®æ´æ°ããã [ãã¹] 0:C:\temp\aaa Sort:-æ´æ°æ¥æ %ComSpec% /c ..7za.exe x %focused% -oC:\bin\aaa *.exe -aoa Close: [åä½] å®è¡ã»æ°è¦ã¿ã
*1:ã³ãã³ãããã³ããã«ã¤ãã¦è©³ããã¯ãã¡ãããã¡ããåç §