Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Find files created between two dates in any year...how ?

08 Jan 2016   #1
DBenz

Windows 7 64bit pro
 
 
Find files created between two dates in any year...how ?

Hi,
I created some files between lets say 15 and 19 August, not sure of the year, in the last 10 years, how can I find them in win7 64bit pro ?

I am hoping to avoid doing a search each time for a specific year, can one search on date disregarding year ?

Furthermore find only has a filter date modified, it says add a search filter yet doesnt have a list of choices, where are other filters to be found ?

In all, it seems archaic compared to winXP explorer search, as I cant see the options that I was used to.

DBenz


My System SpecsSystem Spec
.
08 Jan 2016   #2
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

My System SpecsSystem Spec
08 Jan 2016   #3
DBenz

Windows 7 64bit pro
 
 

thats a question i just posted in another thread, not sure how that answers this question ? !

Also it starts searching before I even finish entering the dates, and then if I alter 2007 to 2008, nothing happens, there is no activate search button, I have to sometimes close the window, then open it, go back to that search window select my last entry then it starts searching.
Its total crap compared to winxp and searching is crucial to pc use.

DBenz
My System SpecsSystem Spec
.

09 Jan 2016   #4
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well in my opinion you'd need a file search utility. Here's one that I use. "Search My Files"

It can be run in portable mode without installation:
Find files created between two dates in any year...how ?-smf1.jpg
Note: This app might get flagged up as malware by some scanners.

Scan reports for Search My Files - author Karsten Funk:

https://www.reasoncoresecurity.com/s...4b78f352f.aspx

https://www.virustotal.com/en-gb/fil...55e1/analysis/
Find files created between two dates in any year...how ?-file-safety.jpg
Some applications are designed to be used by sophisticated users and often, these types of applications dig deep into the operating system replicating the behavior of malware - at least according to many online virus scanners.

Make up your own mind on the issue. I say this app is safe to use and that the detections are false positives.

Configuration:
Find files created between two dates in any year...how ?-smf2.jpg
Check "date created" but also check "extended file attributes" and check "date created" there as well.

If you mess up settings at any time exit the program and delete the SMF.ini file from the program's folder.

Select locations to search and run the search. In the results window filter by month. So for July (any year) use /07/

Results:
Find files created between two dates in any year...how ?-smf3.jpg
So you get a list of all files created in specified locations in July regardless of the year.

If it is a huge list you can export to .csv and sort/ filter by day(s) of month using your spreadsheet application.


My System SpecsSystem Spec
21 Oct 2016   #5
DBenz

Windows 7 64bit pro
 
 

Hi, bit late re-lying, I shall consider that prog, so MS doesnt have such function then.

DBenz
My System SpecsSystem Spec
21 Oct 2016   #6
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by DBenz View Post
I shall consider that prog, so MS doesnt have such function then.
If by that you mean Windows doesn’t offer a way to do this, then no, it’s not impossible with builtin tools; Windows Explorer just doesn't allow you to go so precise with dates.

For example, using the OP’s example, these PowerShell lines will list items that were created between the dates August 15 to August 19 (inclusive), of any year, and only if created after the current date, ten years ago.

Code:
$lower = (Get-Date 'Jul 15')
$upper = (Get-Date 'Aug 19')
$since = (Get-Date).AddYears(-10)

$lower = [Tuple]::Create($lower.Month, $lower.Day)
$upper = [Tuple]::Create($upper.Month, $upper.Day)

gci -r | ?{
	$curr = [Tuple]::Create($_.CreationTime.Month, $_.CreationTime.Day)
	($lower -le $curr) -and ($curr -le $upper) -and ($_.CreationTime -gt $since)
} | %{
	$_.FullName
}
My System SpecsSystem Spec
Reply

 Find files created between two dates in any year...how ?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Modified dates reset by moving files
Hi this is my first post, I assume this is the right place for this topic. I've encountered a very serious problem with Windows 7. It's resetting the modified date on files when I move them. I noticed this a couple of weeks ago when I moved the contents of my user folder to a different...
General Discussion
How do I find "found"files created by CHKDSK?
I had some trouble with one of my harddisks, after I connected it via a USB hub. When I disconnected it and put it back in later on, checkdisk told me I had a corrupted file and proposed a scan. After scanning, it told me that it had created a found file somewhere. I didnt find it, but since...
Performance & Maintenance
Problem searching for files in windows 7 that contain dates
I need to search through files on a windows 7 PC which contain dates in format dd-mm-yyyy, if i wanted to find the date 09-12-1981 it would birng up all the results containing that date but it would also bring up files containing 12-09-1981 in the file name. Another problem is that if i searched...
General Discussion
Can't change files' created and modified dates...
I would swear that I used to be able to click on a file in Windows Explorer and then add or change it's details such as the dates. I may be "misremembering" but I think I could do it at the bottom of the Explorer screen or by rick-clicking, selecting properties and the Details tab. If it was...
General Discussion
How to fix wrong Created, Modified, Accessed dates on files/folders?
Cleaning up the friend of a friend's completely virus infested, badly working computer. Windows 7x64 HP Pavilion g6 Notebook PC The Basics: While I was beginning to install and manually offline-update various anti-malware tools so that I could begin to determine what I needed to do to...
General Discussion
backing up new files with old modified dates
Which batch command and switch should I use to backup a new file with a old (sometimes very old) Date Modified date in a way that avoids backing up files unnecessarily? I've been using xcopy with the /D switch in my backup.bat and just noticed it's missing my new files that have the old dates.
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App