| 
	
	
		
	
	
	
		|  03-10-2017, 11:02 AM | #1 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
				 Searching folders on Network Drive 
 
			
			Is there a way to search a directory structure in Windows to identify which folders have files in them? 
 I'm trying to chase down some files and it's taking forever to open each folder to find nothing.
 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 11:06 AM | #2 |  
	| Playboy Mansion Poolboy 
				 
				Join Date: Apr 2004 Location: Close enough to make a beer run during a TV timeout      | 
 
			
			To a certain extent you could use Windirstat.http://download.cnet.com/WinDirStat/...-10614593.html 
It's meant to help you identify what folders have large files, but would do the trick.
		 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 11:09 AM | #3 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			Thx. I will see if IT will let me use it
		 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 11:15 AM | #4 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			Hold down shift and right click the root folder you want to search in explorer. Select "open command window here."  Type 
 tree /f >files.txt
 
 This will make a text file in that folder of the entire directory tree below it.  You can then search or browse through it.
 |  
	|   |   |  
	
		
			| The Following 3 Users Say Thank You to Fuzz For This Useful Post: |  |  
	
		
	
	
	
		|  03-10-2017, 11:30 AM | #5 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			That's amazing and exactly what I need. Thanks
		 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 11:59 AM | #6 |  
	| Franchise Player 
				 
				Join Date: Oct 2001 Location: Ontario      | 
 
			
			
	Quote: 
	
		| 
					Originally Posted by Fuzz  Hold down shift and right click the root folder you want to search in explorer. Select "open command window here."  Type 
 tree /f >files.txt
 
 This will make a text file in that folder of the entire directory tree below it.  You can then search or browse through it.
 |  
Tree will only give the directory structure, not files, correct?
 
maybe in the command window would be better? 
dir /s > files.txt
		 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 12:05 PM | #7 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			The /f switch gives files.
		 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 12:57 PM | #8 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			On a completely different note, why wouldn't this come up in a Google search? I did that before I posted here.
		 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 01:00 PM | #9 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			Not sure, other than perhaps my knowledge is vastly greater than Google's?  That's my best guess, anyway.
		 |  
	|   |   |  
	
		
			| The Following User Says Thank You to Fuzz For This Useful Post: |  |  
	
		
	
	
	
		|  03-10-2017, 05:04 PM | #10 |  
	| Franchise Player 
				 
				Join Date: Apr 2003 Location: Not sure      | 
 
			
			That's a neat trick Fuzz, thanks.  Are you in IT or just an advanced user?
		 |  
	|   |   |  
	
		
	
	
	
		|  03-10-2017, 05:20 PM | #11 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			I work at a small company, so IT is my "other" job.  I fell into the role because I had plenty of personal experience, and gave it a shot.  So I built everything on our network from scratch, servers, all the PC's...I know a bit about most aspects, domain admin, VM's, simple programming, website design, networking, learned as I went.  I've got better uptime than the Microsoft cloud!      I'm also the guy everyone comes to with problems like "I need a list of all the folders on the network drive" and stuff like that.   It's probably 10% of my time, so it adds some nice variety.
		 |  
	|   |   |  
	
		
			| The Following User Says Thank You to Fuzz For This Useful Post: |  |  
	
		
	
	
	
		|  06-29-2017, 10:59 AM | #12 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			I used this again today. So thanks again. 
 Good thing I didn't agree to a royalty. . .
 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
		|  06-29-2017, 11:58 AM | #13 |  
	| Powerplay Quarterback | 
 
			
			
	Quote: 
	
		| 
					Originally Posted by DoubleK  I used this again today. So thanks again. 
 Good thing I didn't agree to a royalty. . .
 |  
FYI.. Basically, the shell commands can use the "/?" switch for a breakdown of what different switches / flags can be used and their functions. Also if there isn't too much stuff to sift through, instead of dumping to a text file with " > stuff.txt", can add " | more" at the end to add page breaks you can move through with a key press.. both handy if you're following steps in some recommended fix (lot of network issues) that a bunch of require command prompt commands and you'd like to get a better understanding of what's being accomplished
		 
				__________________Long time listener, first time caller.
 |  
	|   |   |  
	
		
	
	
	
		|  06-29-2017, 12:34 PM | #14 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			The nice thing about dumping it to a text file is it is searchable.  I also often open it in Excel, and you can create batch commands like renaming, or making directories based on the file names from the list.  So if I end up with a list like:
 file 1
 file 2
 file 3
 file 4
 file 5
 
 I can add a column with "rename" and fill down, and another column with text that I want to add before or after(say, the date or whatever).  Make a concatenate formula if needed, then I can just copy and paste it back in a command window and rename a bunch of files all at once.  Or move them or whatever.  Handy when you have thousands of files.
 |  
	|   |   |  
	
		
			| The Following User Says Thank You to Fuzz For This Useful Post: |  |  
	
		
	
	
	
		|  06-29-2017, 01:06 PM | #15 |  
	| Powerplay Quarterback 
				 
				Join Date: Dec 2009 Location: SE Calgary      | 
 
			
			That my friend is a great tip!  thanks.  I have screwed around with batch renamers, but they all depend on some sort of logic.  It's better this way because you can change individual ones independently.  what is the command to rename the batch?
		 
				__________________"In theory, there is no difference between theory and practice. But in practice, there is" — Jan Van De Snepscheu
 |  
	|   |   |  
	
		
	
	
	
		|  06-29-2017, 07:57 PM | #16 |  
	| Franchise Player 
				 
				Join Date: Mar 2015 Location: Pickle Jar Lake      | 
 
			
			Sorry, not sure I get the question?  Basically each row in excel is command, so once you fill the sheet you can just copy and paste into the command window, or put it in a bat file.  It runs each line separately.
		 |  
	|   |   |  
	
		
	
	
	
		|  03-02-2021, 03:25 PM | #17 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			Used it again!!!
		 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
			| The Following User Says Thank You to DoubleK For This Useful Post: |  |  
	
		
	
	
	
		|  03-02-2021, 04:33 PM | #18 |  
	| Atomic Nerd 
				 
				Join Date: Jul 2004 Location: Calgary      | 
 
			
			WinDirStat also gives you a graphical overview of the types of files in each folder and how your network drives are broken down. IT is probably happy you are searching yourself and haven't asked them to do it for you!
		 |  
	|   |   |  
	
		
	
	
	
		|  03-02-2021, 05:52 PM | #19 |  
	| Franchise Player | 
 
			
			Fuzz, you're a gentleman AND a scholar.
		 |  
	|   |   |  
	
		
			| The Following User Says Thank You to cam_wmh For This Useful Post: |  |  
	
		
	
	
	
		|  03-17-2022, 11:27 AM | #20 |  
	| Franchise Player 
				 
				Join Date: Aug 2012 Location: Seattle, WA/Scottsdale, AZ      | 
 
			
			
	Quote: 
	
		| 
					Originally Posted by Hack&Lube  WinDirStat also gives you a graphical overview of the types of files in each folder and how your network drives are broken down. IT is probably happy you are searching yourself and haven't asked them to do it for you! |  
Does this software identify duplicates? 
 
Or can anyone suggest a good application that would identify duplicates?
		 
				__________________It's only game. Why you heff to be mad?
 |  
	|   |   |  
	
		
	
	
	
	
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is Off 
 |  |  |  All times are GMT -6. The time now is 09:17 AM. | 
 
 
 |