Computing.Net > Forums > Windows 95/98 > how to print a listing of files?

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

how to print a listing of files?

Reply to Message Icon

Original Message
Name: joe
Date: June 28, 2001 at 04:21:29 Pacific
Subject: how to print a listing of files?
Comment:

I'm running win 98 and Iwas wondering how to print out a listing of all files in a paticular directory. Prefferably sorted in alphabetical order. Any ideas?


Report Offensive Message For Removal


Response Number 1
Name: Bryan
Date: June 28, 2001 at 04:45:34 Pacific
Reply: (edit)

This is a good 3rd party software, freebie and a little over 1mb in size.

http://widgetech.com/mymain/freeware/prtdir3_1.shtml



Report Offensive Follow Up For Removal

Response Number 2
Name: Adam
Date: June 28, 2001 at 05:36:10 Pacific
Reply: (edit)

Hi Joe,
Email me and I will send you a program that will help you with that.
Adam


Report Offensive Follow Up For Removal

Response Number 3
Name: Arthur L. Williams
Date: June 28, 2001 at 05:41:20 Pacific
Reply: (edit)

Start | Settings | Folder Options... | File Types
| (under Registered file types | File Folder |
Edit... | New... | Action: | (type "save
directory" or whatever you want to call this; it
will become the right-click menu option for a
folder) | Application used to perform this action:
| (type "command.com /c dir /b/o > d:\dir.txt") |
OK

/b takes away everything but the file name, /o
puts them in alphabetical order, and substitute
"d:\dir.txt" with where you want to save the file
and the name you want to call it.

Precautions. (1) This does not save files in
subfolders, just the name of the subfolder. (2)
Every time you invoke this command (through
right-clicking), you overwrite the previous file,
so change its name or location before proceeding,
OR write ">>" instead of ">" to the command above,
which just adds new text to the bottom of the
file.


Report Offensive Follow Up For Removal

Response Number 4
Name: FORK_BOY
Date: June 28, 2001 at 07:33:26 Pacific
Reply: (edit)


Print a folder listing from within Explorer
You can add a useful feature to Windows 98's Windows Explorer that allows you to print a listing of the folder's contents without ever visiting the command prompt.

First, create the following batch file on your computer. (You can copy and paste this text into Notepad.exe.)

@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

Save this batch file in the Windows folder as List.bat. Start Explorer, click Tools | Folder Options, and select the File Types tab. Click File Folder | Edit | New. In the Action field, type Print Folder List, and in the Application Used To Perform Action field, select List.bat. Click OK to save your modifications.

In Explorer, right-click the Folder To list and select the Print Folder List option. Notepad will open and the list will be printed to your default printer.

============================================


Report Offensive Follow Up For Removal

Response Number 5
Name: CDC
Date: June 28, 2001 at 08:26:36 Pacific
Reply: (edit)

Very Neat little Trick.

Thanks Fork_Boy.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software