How to print out the contents of cd or dvd files?
by hwll - 7/9/04 10:29 AM
Woul anyone share the way to print out the contents of cd/dvd files within the Windows and/or DOS environments?
by: hwll July 9, 2004 10:29 AM PDT
0 people like this thread
Total posts: 5 (Showing page 1 of 1)
Re: How to print out the contents of cd or dvd files?
How do you print a directory of what's contained on a disk?
Two ways to do this........
Go to your DOS prompt (W98/ME = Start\Programs\MSDOS Prompt or XP = Start\Programs\Accessories\Command Prompt) and type this command (this will print your directory in alphabetical order). This example is for your "a" drive or floppy drive but it should work for all your drives including a zip drive--just change the letter of your drive in your command line:
Dir a:\ /o:n>prn
Then click your Enter key
Bill Gaston's Answer:
Cut and paste the next two lines from this message into NotePad or any text editor and be sure to save it with a .bat extension in any location you want:
dir %1 /-p /a /o > "%temp%\File List"
notepad /p "%temp%\File List"
Note: You may leave the /p off in the second line and use the internal print option from Notepad if desired.
Right-click the name of this file and create a shortcut in the same folder. On the Program tab of this shortcut, check the Close on Exit.
Right-click on the shortcut and select copy. Move to the "Send To" folder and right-click a blank space and select "Paste Shortcut".
From now on, left-click a folder, right-click and select "Sent To" and this shortcut for printing a list.
Notes and caveats:
The batch file writes a file to the Temp folder named "File List."
A list can be sent to a printer or to a file. This depends on the printer selected before selecting the shortcut. To create a Text Printer, go to Control Panel > Add Printers > Generic > Generic/Text Only > default to Print To File. Select this printer before starting the procedure if you want a file list saved. If you should desire to save a file list besides printing one, enter the storage location for this file list in the shortcut. Enter the drive and folder name where you would like this list to reside on the "Working" line of the shortcut - I use the "Temp" folder (the %temp%) and file name "File list" (the last line of the batch).
This procedure may be set up so the shortcut is listed on the Start button's right-click menu, besides the "Sent To" folder, in addition to, or both. In Explorer, click on View > Options > File Types. Click once on "File Folder" > Edit > New and for "Action," type Print File Listing; for "Application," browse for your shortcut created above.
Caveat: Since the printing procedure is added to the Start | right-click menu at all times, it only functions when clicking a folder name in Explorer and selecting "Print File Listing".
If you want to do the same thing for a drive's root, use "Drive" file types instead of "File Folder". You must include the /s parameter in your created batch file for printing all sub-folders as part of the listing. You may want to create another batch file by a different name when including /s, however, I include it anyway.
Caveats: There is no means of including hidden sub-folders to print, such as printing the Windows 95 folder and all sub-folders - the parameters for the "DIR" command does not include this feature. In order to get a file listing of a hidden sub-folder, the single folder itself must be printed. Examples of two folders in Windows are the INF and Fonts folder.
If NotePad cannot handle a large job, Windows will suggest using WordPad instead.
Copy file list from CD/DVD
by rapidrickc - 2/7/10 10:41 AM
In Reply to: Re: How to print out the contents of cd or dvd files? by TONI H
Tony how do you specify the location of the CD/DVD drive in your batch file?
''Also'' . . .
Copyright 1999-2000 RjH Software
rjhExtensions is a simple utility that will add six functions to the context (right click) menu of Windows Explorer:
Path to clipboard: Copies the path of the selected folder or file to the clipboard.
DOS Prompt: Opens a DOS window in the selected directory.
Shared File(s): Overwrites and then deletes the selected file or files. WARNING: Shredded files cannot be recovered.
Duplicate File(s): Creates a copy of the selected file or files in the same directory. The duplicate files will maintain the properties of the original.
Copy directory list to file: Creates a text file containing the names and, optionally, the details of all files in the selected directory and, optionally, subdirectories.
Print directory list: Prints a list of the names and, optionally, the details of all files in the selected directory and, optionally, subdirectories.
Added note: Do not expect the rjhExtension application to print a list of files found when searching with the Windows Find Function.
Pardon ma ACKsent, ah'm frum Austin, Tex_As, USA
....its been my policy to view the Internet not as an 'information highway,' but as an electronic asylum filled with babbling loonies.
How to print ou the contents of a cd
I do it the easy way. I got to my My Documents Folder, put everything that is not in a folder into a new one titled My Documents2.
Then I highlight everything on the cd, Copy it and send it to My Documents.
I make a new folder in My Documents and put all of the files that were sent from the CD into it.
Then I simply open the File called My Documents and hit "Print Screen", Copy the screen print into a Word document, and you have your list.
If the list is long, you might have to scroll down the screen and use "Print Screen" again.
Total posts: 5 (Showing page 1 of 1)