how to print Folder's .....file list ???

Status
Not open for further replies.

llwade

Member
Premium Subscriber
Joined
May 28, 2009
Messages
726
Location
Chillicothe Illinois
in the "simple" days, when we used DOS, it was quite easy to print a list of all the files in a Folder.
.
now it is a different story
.
How do I go about printing a list of all files in a specefic folder ???
.
 

Squelchtone

Member
Joined
Nov 15, 2010
Messages
102
Location
Central / Metro West MA
You can still have fun in DOS, try this

In Windows XP: Start > Run > CMD > Ok, (opens DOS window)
In Windows 7: Microsoft Logo > Type CMD and press enter in Search box

Although the old C:\PATH\DIR > LPT1 wont work unless you have a printer plugged into LPT1, you can do the following

List Directory Files to a Text File: C:\PATH\DIR > NAME.TXT

Now open Notepad and open that text file and print it, or at C:\PATH\ type EDIT NAME.TXT

Yay for DOS! =)

Squelchtone
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,776
Location
Toronto, Ontario
You can still have fun in DOS, try this

In Windows XP: Start > Run > CMD > Ok, (opens DOS window)
No it doesn't.


In Windows 7: Microsoft Logo > Type CMD and press enter in Search box

Although the old C:\PATH\DIR > LPT1 wont work unless you have a printer plugged into LPT1, you can do the following

List Directory Files to a Text File: C:\PATH\DIR > NAME.TXT
That will fail with a "not recognized as an internal or external command, operable program or batch file" error.


Now open Notepad and open that text file and print it, or at C:\PATH\ type EDIT NAME.TXT

Yay for DOS! =)
Yeah, no DOS anywhere in any of that.
 

Squelchtone

Member
Joined
Nov 15, 2010
Messages
102
Location
Central / Metro West MA
No it doesn't.



That will fail with a "not recognized as an internal or external command, operable program or batch file" error.



Yeah, no DOS anywhere in any of that.



I'm not sure if you're just being contrary or having issues with your version of Windows but I guarantee you in Windows XP you can open a DOS window and do old fashioned commands to this day. Maybe it's not working for you,or maybe you're trying to tell me that this isn't really "DOS" as in "DOS 6.21" but semantics aside, to me this IS a DOS window. (I don't want to get into a debate or argument about it being a command prompt window or a terminal shell or whatever other technocratic word someone wants to call it.)

Please take a look at the screenshot I made to demonstrate what I was talking about, maybe we're not on the same page.

XP-DOS-window.jpg
 

fxdscon

¯\_(ツ)_/¯
Premium Subscriber
Joined
Jan 15, 2007
Messages
7,488
No it doesn't.



That will fail with a "not recognized as an internal or external command, operable program or batch file" error.



Yeah, no DOS anywhere in any of that.

I would guess that your computer or operating system install may have some issues. Typing cmd as Squelchtone described does indeed bring up the "DOS" window without the error messages. I use it routinely on Windows 7, Vista, and XP.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
Easier way...

open a command prompt window

navigate to the directory you wish to print (using commands like cd, dir)

when there, type dir > whatever.txt


this will output the directory contents to a file called whatever.txt (you can name the txt file whatever you want)

Open the file in an editor, edit, print, whatever..
 

llwade

Member
Premium Subscriber
Joined
May 28, 2009
Messages
726
Location
Chillicothe Illinois
Hey triptolemus,
.
Now that's what i am talking about ! ! !
.
SO EASY....................EXACTLY WHAT I WAS LOOKING FOR
.
thank you for your input.
.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
You're welcome.

Always avoid installing some 'utility' to handle simple tasks. With Windows, there's more than likely always a way -- it's just draconian and hard to find...

Cheers!

As an aside, I'd recommend that if you installed that utility mentioned above... you should be sure it didn't also include any unwanted spyware, adware, malware, crapware.... this is a real posibility.

/M
 

fxdscon

¯\_(ツ)_/¯
Premium Subscriber
Joined
Jan 15, 2007
Messages
7,488
Easier way...

open a command prompt window

navigate to the directory you wish to print (using commands like cd, dir)

when there, type dir > whatever.txt


this will output the directory contents to a file called whatever.txt (you can name the txt file whatever you want)

Open the file in an editor, edit, print, whatever..

Exactly what Squelchtone recommended in his post above. Works every time!
 

mike_s104

Member
Joined
Aug 25, 2004
Messages
4,814
Location
Berkeley Co. WV/ Loudoun Co. VA
Here's something I made at work for a lady. I found bits and pieces of some VBS' and made a VBS for what she needed. I then used Primal Script to make it into an EXE. I just changed the icon from the work icon to a more generic one. It's very simple and just prints the folder contents to a plain text file. Should work with 2000, XP, Vista, Win7, 2008 (64 and 32 bit for all).

Directory Print.zip
 
Last edited:
Status
Not open for further replies.
Top