We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
How do I print the results of a search
Options

Anic
Posts: 845 Forumite

in Techie Stuff
Hopefully someone will be able to help me.
At work, I have been asked to delete files from one of my drives that are over 10Mb in size.
I have managed to search the drive and it has found 170 files in different locations. Obviously I need to look at each file to see if it is safe to delete but it will take me a while to go through all 170 of them so I was wondering if there is a way to print the results of the search so I can access them from a pre-printed list (if that makes sense)
I know how to print file names that are in a specific director/folder, etc using the command prompt "dir /b print.txt" but this wouldn't work in this case as the files are not in all the same folder?
At work, I have been asked to delete files from one of my drives that are over 10Mb in size.
I have managed to search the drive and it has found 170 files in different locations. Obviously I need to look at each file to see if it is safe to delete but it will take me a while to go through all 170 of them so I was wondering if there is a way to print the results of the search so I can access them from a pre-printed list (if that makes sense)
I know how to print file names that are in a specific director/folder, etc using the command prompt "dir /b print.txt" but this wouldn't work in this case as the files are not in all the same folder?
0
Comments
-
The dir /s command searches all folders and sub folders so to look for all files with a jpg extension do dir/s *.jpg >output.txt form the c:\ prompt this will give to a lsit of all jpg files on the pcBug? That's not a bug, that's an undocumented feature. :dance:0
-
Thanks for that Colin.
Is there a way to search this way for files over 10MB and then print them.
The files are various types i.e. .tif, .doc, .ppt, .mp3, etc0 -
0
-
One workaround would be to make sure your view of the search results is set to details, expand the 'In folder' column so it is readable, and then take screen prints by using ALT + PRT SCREEN, then pasting them into a word doc.0
-
Don't think so however you could use /o/s to order them by size for each folder
colinBug? That's not a bug, that's an undocumented feature. :dance:0 -
Chippy_Minton wrote: »
Thanks everyone for all your help.
Chippy, your first link done exactly what I was looking for :beer:0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244.1K Work, Benefits & Business
- 599K Mortgages, Homes & Bills
- 177K Life & Family
- 257.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards