Calgarypuck Forums - The Unofficial Calgary Flames Fan Community
Old 03-10-2017, 11:02 AM   #1
DoubleK
Powerplay Quarterback
 
DoubleK's Avatar
 
Join Date: Aug 2012
Location: Calgary, AB
Exp:
Default 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.
DoubleK is offline   Reply With Quote
Old 03-10-2017, 11:06 AM   #2
ken0042
Playboy Mansion Poolboy
 
ken0042's Avatar
 
Join Date: Apr 2004
Location: Close enough to make a beer run during a TV timeout
Exp:
Default

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.
ken0042 is offline   Reply With Quote
Old 03-10-2017, 11:09 AM   #3
DoubleK
Powerplay Quarterback
 
DoubleK's Avatar
 
Join Date: Aug 2012
Location: Calgary, AB
Exp:
Default

Thx. I will see if IT will let me use it
DoubleK is offline   Reply With Quote
Old 03-10-2017, 11:15 AM   #4
Fuzz
Franchise Player
 
Fuzz's Avatar
 
Join Date: Mar 2015
Exp:
Default

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.
__________________
Air Canada - We're not happy until you're not happy.
Telus - hold on tight, we're going in dry!
Fuzz is offline   Reply With Quote
The Following 3 Users Say Thank You to Fuzz For This Useful Post:
Old 03-10-2017, 11:30 AM   #5
DoubleK
Powerplay Quarterback
 
DoubleK's Avatar
 
Join Date: Aug 2012
Location: Calgary, AB
Exp:
Default

That's amazing and exactly what I need. Thanks
DoubleK is offline   Reply With Quote
Old 03-10-2017, 11:59 AM   #6
calculoso
Franchise Player
 
calculoso's Avatar
 
Join Date: Oct 2001
Location: Ontario
Exp:
Default

Quote:
Originally Posted by Fuzz View Post
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
calculoso is offline   Reply With Quote
Old 03-10-2017, 12:05 PM   #7
Fuzz
Franchise Player
 
Fuzz's Avatar
 
Join Date: Mar 2015
Exp:
Default

The /f switch gives files.
__________________
Air Canada - We're not happy until you're not happy.
Telus - hold on tight, we're going in dry!
Fuzz is offline   Reply With Quote
Old 03-10-2017, 12:57 PM   #8
DoubleK
Powerplay Quarterback
 
DoubleK's Avatar
 
Join Date: Aug 2012
Location: Calgary, AB
Exp:
Default

On a completely different note, why wouldn't this come up in a Google search? I did that before I posted here.
DoubleK is offline   Reply With Quote
Old 03-10-2017, 01:00 PM   #9
Fuzz
Franchise Player
 
Fuzz's Avatar
 
Join Date: Mar 2015
Exp:
Default

Not sure, other than perhaps my knowledge is vastly greater than Google's? That's my best guess, anyway.
__________________
Air Canada - We're not happy until you're not happy.
Telus - hold on tight, we're going in dry!
Fuzz is offline   Reply With Quote
The Following User Says Thank You to Fuzz For This Useful Post:
Old 03-10-2017, 05:04 PM   #10
GoinAllTheWay
#1 Goaltender
 
GoinAllTheWay's Avatar
 
Join Date: Apr 2003
Location: Not sure
Exp:
Default

That's a neat trick Fuzz, thanks. Are you in IT or just an advanced user?
GoinAllTheWay is offline   Reply With Quote
Old 03-10-2017, 05:20 PM   #11
Fuzz
Franchise Player
 
Fuzz's Avatar
 
Join Date: Mar 2015
Exp:
Default

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.
__________________
Air Canada - We're not happy until you're not happy.
Telus - hold on tight, we're going in dry!
Fuzz is offline   Reply With Quote
The Following User Says Thank You to Fuzz For This Useful Post:
Reply

Thread Tools

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 Off

Forum Jump


All times are GMT -6. The time now is 11:10 PM.

Calgary Flames
2016-17




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2016