DISQUS

DISQUS Hello! Tech-Recipes is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Tech-Recipes

Cookbook of Tech Tutorials
Jump to original thread »
Author

Send Listing of Directory or Folder To Notepad For Easy Printing | Windows | Tech-Recipes

Started by qdideas · 9 months ago

No excerpt available. Jump to website »

4 comments

  • Trojan at mameworld.info made the following suggestion for creating a barebones listing...



    Change

    dir "%~dp1" > dir.txt || pause

    to

    dir /b "%~dp1" > dir.txt || pause




    Original thread:
    http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=36808&page=&view=&sb=5&o=&vc=1
  • There is a much easier way to get your directory listing into a text file:

    Open the command line
    "cd" to the directory you want
    type "dir >> "C:Your_Text_File.txt"

    Thats it, it will create your text file with the directory listing. Better yet, you can use ">>" with any other commands, all it does is direct the output to a text file.
  • Does not work! I created the text file, i tried to save it as said via Save As and it still added the .txt to the file name on desktop, i renamed it as a .cmd file and no go nothing, the Open With... window appears every time i double-click it, if i drag a file onto it the file just re-appears on the desktop, no .txt file created.

    Sorry, does not work here with Win98SE.
    What's up?
  • Excellent tool, my son explained I didn't have to double clk the icon to get it to work correctly. Nice site (Tech Recipies) thanks bobo

Add New Comment

Returning? Login