ファイル整理とか

http://www.atmarkit.co.jp/fwin2k/operation/command002/command4.html

dir /b >list.txt

tree /f >list.txt


2つのファイル比較。

fc /N file.txt file2.txt

  • バッチファイルでリネーム

@echo off
rem ここをつけたい文字に変える
set ##temp##=ここ_
rem 拡張子
dir /b *.jpg > ##dir##.txt
for /f "usebackq delims=/" %%i in (##dir##.txt ) do ren "%%i" "%##temp##%%%~nxi"

del ##dir##.txt

バッチファイルでフォルダ内の同一拡張子のファイルを全部開く

for %%a in (*.url) do "%%a" & ping localhost -n 3 > nul

デスクトップとかに「今日はここまで」とか調べもののショートカットをこのバッチファイルと一緒に無造作に放り込んでおくとか。
使えるかも。

TechNet スクリプト センター
http://www.microsoft.com/japan/technet/scriptcenter/default.mspx