Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

記事本不只是記事!六大神技:自動記時、自動換行、熱鍵喚醒、瀏覽網頁、過濾純文字、批次處理

編輯:系統常見問題解答

記事本體積小、開啟快,六大進階用法:

1. 自動記錄開啟時間

第一行輸入 .LOG(大寫含點),之後每次開啟自動在末尾加入時間戳記。

2. 自動換行

「格式」→ 勾選「自動換行」,長行依視窗寬度換行閱讀。

3. 熱鍵一鍵喚醒

%systemroot%\system32\notepad.exe 右鍵「內容」→ 「捷徑」→ 指定熱鍵(如 Ctrl+Alt+N),隨叫隨到。

4. 瀏覽網頁特效測試

網頁碼貼上 → 「另存新檔」副檔名 .html(如 test.html)→ IE 開啟預覽,秒開無負擔。

5. 過濾非純文字

網頁複製內容先貼記事本 → 再複製到 Word,自動濾除圖片、表格、格式標記,得純淨文字。

6. 批次處理

編輯指令存為 .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

存為 清除系統垃圾.bat(儲存類型選「所有檔案」),定期執行釋放空間(曾釋放 600MB+),安全無異常。

Copyright © Windows教程網 All Rights Reserved