Windows Dir/File list printing
Windows Dir/File list printing
phish |
![]()
Post
#1
|
![]() nFm [ not leaving ] ![]() ![]() Group: Full Member Posts: 44 Joined: 24-March 04 Member No.: 67 ![]() |
I want to print directory list and file list under Windows XP.
I found a simple tip with printdir.bat, @echo off dir %1 /-p /o:gn > "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit This batch file sends the list to printer. How can I modify to view the list with notepad? After viewing with notepad, I may print from notepad menu. Or any good simple utility you want to recommend? |
![]() ![]() ![]() |
Boss429 |
![]()
Post
#2
|
![]() Buckled Up ![]() ![]() ![]() ![]() ![]() Group: Private Member Posts: 623 Joined: 18-March 04 From: Canada Member No.: 18 ![]() |
check the switches with the notepad.. might be /o for open.
then you can choose to print in the notepad. /p tells the file to print. to view the switches for notepad.. you can seartch on line or run with the commands notepad.exe /? or /help at a command prompt (ie MS-DOS prompt or equivalent) -------------------- "Scenes change before my eyes
Doesn't matter what I try Close my eyes they disappear Open wide, and they reappear" |
![]() ![]() ![]() |
Lo-Fi Version | Time is now: 2nd July 2025 - 11:52 AM |