本帖最后由 pcl_test 于 2016-11-3 14:12 编辑
回复 3# hepeisheng
http://www.bathome.net/viewthread.php?tid=35774
http://www.bathome.net/viewthread.php?tid=517
http://bbs.bathome.net/viewthread.php?tid=9355- rem win7及以上系统运行
- powershell -c "$a=@{};gc '文本.txt'|?{$_ -notmatch '[\\/:*?""<>|\t]'}|%%{$n=$_+'.txt';$a[$_]=1;if(Test-Path $n){while(Test-Path ($n=$_+'重复'+$a[$_]+'.txt')){$a[$_]+=1}};ni $n -type file}"
- pause
复制代码
|