Print out dir listings as could be donw in dos

Discussion in 'Software' started by Ronnald Dove, Nov 29, 2006.

  1. Ronnald Dove

    Ronnald Dove Private E-2

    How can i print out dir listings in Win 2000 & Xp as well as Win98
    Sometimes I need the file names on the road but have no int access
    but could call office for file info if I had name of file
     
  2. matt.chugg

    matt.chugg MajorGeek

    You can export dos commands using pipes (>)

    For example to print out all files and folders on your computer you could use the tree command or just to print the contents of a directory use the Dir command.

    You can then print the file from notepad.

    Example
    Code:
    [b]tree "c:\windows\system32" /A /F > c:\output.txt[/b]
    This will dump the contents of the system32 folder (including subfolders) to a file called output.txt in the root of c: , the same principal applies to the Dir command
     
  3. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds