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: How to recover folders original creation date after copy ?

1 Week Ago   #11
Newb777

Windows 7 Home Premium 64bit
 
 

Quote:
The most you could do (AFAIK) right now is to find the oldest file's timestamp and edit the folder's timestamp data and assign it to that.

I am more curious as to why you want the folder's timestamp data changed (although it's none of my concern).
Thank you for this idea, given the amount of folders I better find a way to do this in a batch or i'm up for a fun afternoon lol. About the reason, the formating went well except a few details like this timestamp issue or some lost internet favorites. So i try to get more knowledge to be 100% ready when they decide to buy a new computer


My System SpecsSystem Spec
.
1 Week Ago   #12
Muted

Windows 7 Lite: Professional 64-bit
 
 

Quote   Quote: Originally Posted by Newb777 View Post
Thank you for this idea, given the amount of folders I better find a way to do this in a batch or i'm up for a fun afternoon lol. About the reason, the formating went well except a few details like this timestamp issue or some lost internet favorites. So i try to get more knowledge to be 100% ready when they decide to buy a new computer
What you're trying to do is the epitome of what scripting was created for.

I'll pass on listing a wide variety of scripting languages, but I am pretty sure a batch file by itself won't suffice.

From what little I know: I'd suggest using PowerShell, since it ships with Windows Vista and above (convenience).
You should be able to search Google for: "batch file script to edit folder timestamp."

Good luck!

EDIT: You know what? After my last post, I suppose I'll try to steer you into AutoIt.

There's a single function call that will modify (both) file and folder timestamps.
You may have to learn a tiny bit about writing scripts (and download AutoIt), but: It sounds like it'd be faster than manually doing it yourself.

Function call: _Date_Time_SetFileTime

(TO MOD: I don't know if links are allowed, but): Function _Date_Time_SetFileTime

That's the URL to the online help file for invoking the function.
My System SpecsSystem Spec
1 Week Ago   #13
Newb777

Windows 7 Home Premium 64bit
 
 

wow thank you for all this informations, I never got into scripts because it's intimidating and I just didn't feel the need to use them. But like you said it's a good occasion to learn and i will definetly try it. Plus I'll find out wtf powershell really is except a blue command prompt lol.

AutoIt seems less user friendly ( the code into your link made me feel stupid ), I only know it by reputation because of the cheaters in video games bragging about automating their actions using this tool.

Anyway thank you again, you gave me something to work on my free time and I'll update this thread with my findings
My System SpecsSystem Spec
.

Reply

 How to recover folders original creation date after copy ?




Thread Tools




Similar help and support threads
Thread Forum
How to bulk swap file creation date and modified date?
Any suggestions how to bulk swap file creation date to modified date, if modified date is earlier then creation date? Any 3rd party software perhaps? This present mess is result of Windows 7 date misinterpretation, when copying files between drives. Now many image files have lost original...
General Discussion
What robocopy command copy all folders and files with original dates
I want to copy the contents of pen drive to E drive. The pendrive drive is F. Now i want all the folders and files to have the same date it was as in the pen drive, when i stored . Normally when i copy, all the files retain original date but folders get todate. Meaning less if date...
General Discussion
How do I find the original date creation on a file?
Hi guys, I am new here and I would like to clarify a few things. As the title suggested, is there a way to find the original creation date on a file which has been copied and pasted. Here were the steps I took. 1. Copied documents from PC to external hard drive 2. Deleted documents on PC....
General Discussion
File Creation Date Oddity? Or Normal Behavior?
Something I discovered tonight...let me explain by example: I have two files in folder AAA. One is named BBB, with a creation date of 1-1-14. One is named CCC, with a creation date of 8-1-14. If I delete BBB, and then rename CCC to BBB, then that file's creation date changes from 8-1-14 to...
General Discussion
Changing the Creation date of a file
hello guys, I have a question,we have an external hard disk that some files and folders are created there,suppose someone with a third party tool (like Attribute Changer) modified the creation date of files or folders,is there any way to find the original creation date of these files or folders? ...
General Discussion


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 10:49.
Twitter Facebook