萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Windows 7 教學

Win7 新增「列印目錄清單」到右鍵「傳送至」選單

想快速列印某資料夾下的所有檔案清單?Win7 可透過建立批次檔並加入「傳送至」選單,實現右鍵一鍵列印目錄功能。

建立 Printdir.bat

  1. 開啟記事本,貼上以下程式碼:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
  1. 另存為 Printdir.bat 到 C:\Windows(需系統管理員權限)。

加入「傳送至」選單

  1. 按 Win + R 輸入 shell:sendto 開啟「傳送至」資料夾。
  2. 空白處右鍵 → 「新增」→「捷徑」。
  3. 位置輸入 %windir%\Printdir.bat,下一步命名為「列印目錄清單」,完成。

之後對任何資料夾右鍵 → 「傳送至」→「列印目錄清單」,記事本會自動開啟並列印該資料夾檔案清單。

copyright © 萬盛學電腦網 all rights reserved