記事本體積小、啟動快、純文字無格式,6 招玩出進階用法:
.LOG (大寫含點) → 以後每次開啟自動在末尾加入時間戳記。%systemroot%\system32\notepad.exe 右鍵「內容」→ 「快捷鍵」欄按組合鍵 (如 Ctrl+Alt+N) → 確定。隨時喚出。.html (如 test.html) → IE 「檔案」→ 「開啟」選取 → 即時預覽,比開啟 DW/前頁快得多。.bat。copy e:\movie d: 複製 1GB 影片 1分20秒 vs 滑鼠複製 3分30秒。@echo off
echo 正在清除系統垃圾檔案...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
echo 清除完成! & pause
記事本不只是記事本,更是輕量級開發與維護利器。