- 149 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/06/01(月) 13:17:28 ID:4j2Y/CPr0]
- >>146
指定したディレクトリ以下の画像をハードリンク使って一箇所に集めてランダムな名前にリネームするバッチファイル @echo off set srcdir=c:\ero set dstdir=c:\erorand set filter=*.jpg *.png *.bmp rem ↓前回のハードリンクを削除する。remを解除する場合は慎重に rem del %dstdir%\*.* for /r %srcdir% %%f in (%filter%) do call :randrename "%%~f" start leeyes.exe %dstdir% goto :eof :randrename fsutil hardlink create "%dstdir%\%random%%~x1" "%~1" && goto :eof fsutil hardlink create "%dstdir%\%random%x%~x1" "%~1" && goto :eof fsutil hardlink create "%dstdir%\%random%xx%~x1" "%~1" && goto :eof fsutil hardlink create "%dstdir%\%random%xxx%~x1" "%~1" && goto :eof fsutil hardlink create "%dstdir%\%random%xxxx%~x1" "%~1" && goto :eof
|

|