New
#1
? How get equivalent of cmd line dir > prn ?
Those who have never in their lives used any DOS, or the fake DOS CMD remnants embedded in Windows since Win 2000, will probably not understand why I would ever be using anything resembling a "command line."
I used the command line DIR > PRN, where PRN is the default printer device, for longer than a quarter century, for specific reasons. This yields a fairly concise listing with much information. I thought that Win XP allowed this from a (pseudo)DOS prompt; maybe I remember incorrectly, and this worked only on earlier Windows versions.
I have just figured out (stumbled onto) how to get a "command line prompt" in Win 7. Hit the Windows key, and type CMD into the search field. I can get a DIR on a given drive OK. But DIR > PRN warns me that the file, presumably PRN, cannot be found. So just since I started typing this post, I stumbled around and guessed that I could redirect the DIR to a txt file in some convenient directory. This works.
I got to a pseudo-DOS screen, by hitting the Windows key, typing CMD, then typing DIR > listing.txt (could be any filename)
The DIR listing was redirected to a new file, which I could then print by any of several means.
Anybody suggest a shorter path to getting a DOS-like DIR printout?