>>401 テキストエディタに以下コピペ import os,os.path cnt = 0 path = os.path.abspath(os.curdir) dirList = [dir for dir in os.listdir(path) if os.path.isdir(os.path.join(path,dir)) and dir[0] != '.'] for d in dirList : ★p = os.path.join(path,d) ★fileList = [f for f in os.listdir(p) if os.path.isfile(os.path.join(p,f)) and f[0] != '.' and f[0:4] != 'Icon'] ★for f in fileList : ★★cnt += 1 ★if cnt != 0 : ★★os.rename(p,p + '(%d)' % cnt) ★cnt = 0