作者esouxcon ()
看板EZsoft
标题Re: [请问] 请问有这种功能的软体吗?(档案归类)
时间Sun Jan 15 16:20:34 2023
;=================================================
FileSelectFolder,SD,*D:
Loop Files, %SD%\*.*
{
if !FileExist(A_LoopFileFullPath)
Continue
SplitPath,A_LoopFileFullPath,name
RegExMatch(name,"\d{5}_(\d{8})",newname )
FileCreateDir,%SD%\%newname1%
FileMove,%SD%\*%newname1%*,%SD%\%newname1%
}
;=================================================
AutoHotKey v1.1版
https://autohotkey.com/download/ahk-install.exe
安装好AutoHotKey,分隔线中间复制另存成"档名随便取.ahk"(编码选UTF-8 with BOM)
执行後会让你选资料夹,选好按确定,大概瞬间就完成了。
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 61.224.147.143 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/EZsoft/M.1673770837.A.A1E.html
1F:推 sillycat79: 推一个~~ 01/15 17:32
※ 编辑: esouxcon (61.224.147.143 台湾), 01/15/2023 20:06:59
2F:推 novels99: 再次谢谢哥 01/18 16:58