A look at the Toshiba Portégé R600 with 512GB SSD
July 2, 2009 – | No Comment

There aren’t many better ways of gaining recognition for all the effort you have put in to be greener than from an organisation like Greenpeace. The Toshiba Portégé R600 won its category in the Greenpeace …

Read the full story »
Downloads

Things to download free, from posters and shortcut guides to white-papers and checklists

How To & Tutorials

These handy problem solving tips and advice should save you some time

Industry News

News and commentary from news in the technology industry

Software

Explore recommended software applications from around the Internet

Technology Terms

We regularly take a technology related term and try to make sense of it in the real world.

Home » How To & Tutorials

Tip: List files and save in a text file

Submitted by jasonslater on October 24, 2008 – No Comment

A quick tip for obtaining a list of files in sub folders and presenting the results in a list suitable for loading into programs like Excel:

dir "folderpath" /s /b /a-d >outputname.csv

www.jasonslater.co.uk

This can also be combined with the find command to filter the results

dir "folderpath" /s /b /a-d |find "word" >outputname.csv

Multiple finds can be used to further refine the list:

dir "folderpath" /s /b /a-d |find "word1" | find "word2" >outputname.csv

www.jasonslater.co.uk

These commands could be placed into a .cmd file then placed as a shortcut on the desktop.

Share and Enjoy:
  • Digg
  • del.icio.us
  • E-mail this story to a friend!
  • StumbleUpon
  • Technorati
  • TwitThis

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.