ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] °õ¦æbatÂ^¨ú¯S©w¦r¤¸¨Ó­×§ï¸ê®Æ§¨

[µo°Ý] °õ¦æbatÂ^¨ú¯S©w¦r¤¸¨Ó­×§ï¸ê®Æ§¨

½Ð°Ý¦U¦ì¤j¤j

§Ú·Q¦b¸ê®Æ§¨¸Ì­±excelÂ^¨úA2®æ¤º®e°µ¬°¸Ó¸ê®Æ§¨ªºÀɦW


§Æ±æ¥i¥H§â"·s¼W¸ê®Æ§¨"ªºÀɦW§ï¦¨A2¤º®e"2345678"

¥Ø«e·Q¨Ï¥Îªº§å¦¸ÀÉ«ü¥O¦p¤U

@echo off
setlocal EnableDelayedExpansion
for /F "TOKENS=*" %%I in ( 'dir /b /ad' ) do (
  set pat=%%I
  cd !pat!
  call :second
  ren "!pat!" "!newdata:~0,-4!"
)
:second
for /F "TOKENS=*" %%J in ( 'dir /b /o-d' ) do (
  set newdata=%%J
  cd..
  goto :eof
)

½Ð°Ý§Ú¥i¥H«ç»ò­×§ï¸Ó«ü¥O¥hÂ^¨úexcelªºA2¤º®e©O?

³Â·Ð¤j®a~

        ÀR«ä¦Û¦b : ¬°¦Û¤v§äÂǤfªº¤H¥Ã»·¤£·|¶i¨B¡C
ªð¦^¦Cªí ¤W¤@¥DÃD