Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Question about dos directory listings.

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Question about dos directory listings.

Old 09-09-06, 04:25 PM
  #1  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,306
Likes: 0
Received 0 Likes on 0 Posts
Question about dos directory listings.

I want to use c:\> dir > out.txt in a way that it not only lists folder contents but also the contents of every folder in that directory.

Thanks!
Old 09-09-06, 04:38 PM
  #2  
X
Administrator
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,763
Likes: 0
Received 4 Likes on 3 Posts
Use the "/s" parameter after "dir".
Old 09-09-06, 05:09 PM
  #3  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,306
Likes: 0
Received 0 Likes on 0 Posts
Thanks!
Old 09-09-06, 06:39 PM
  #4  
DVD Talk Platinum Edition
 
Join Date: Feb 2001
Posts: 3,393
Likes: 0
Received 0 Likes on 0 Posts
If you have future questions, use dir /?

That will show you all the options you can use.
Old 09-12-06, 04:15 PM
  #5  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,306
Likes: 0
Received 0 Likes on 0 Posts
Thanks for the tip Another question: My digital camera breaks down pictures into groups of 100 and places them in different folders. Is there a way of having a folder with 10 subfolders (and 100 files in each subfolder) and copy all those files (which do not share the same name with any other file) to the main folder?

Thanks!
Old 09-12-06, 05:36 PM
  #6  
Senior Member
 
Join Date: Aug 2003
Posts: 943
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by GatorDeb
Thanks for the tip Another question: My digital camera breaks down pictures into groups of 100 and places them in different folders. Is there a way of having a folder with 10 subfolders (and 100 files in each subfolder) and copy all those files (which do not share the same name with any other file) to the main folder?

Thanks!
Don't know the proper DOS way to do it, but if you're running windows on this machine and not just DOS, you can just search for *.jpg (or .gif or whatever) in the main folder. This should give you all the pictures in the subfolder. You can then just copy/paste them wherever.
Old 09-12-06, 09:04 PM
  #7  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,306
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by xVladx
Don't know the proper DOS way to do it, but if you're running windows on this machine and not just DOS, you can just search for *.jpg (or .gif or whatever) in the main folder. This should give you all the pictures in the subfolder. You can then just copy/paste them wherever.
This is one of those "Doh, I can't believe I didn't think of that." Thanks!

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.