需列印資料夾檔案清單?Win7 可透過指令或永久加入右鍵「傳送到」選單實現。
cd 至目標資料夾dir > contents.txtcontents.txt,開啟列印即可Printdir.bat:Printdir.bat 放至 C:\Windows(需管理員權限)@echo off dir %1 /-p /o:gn > "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit
shell:sendto 開啟「傳送到」資料夾%windir%\Printdir.bat → 命名「列印目錄清單」之後右鍵任意資料夾 → 「傳送到」→ 「列印目錄清單」即可一鍵列印。