Windows 10: Changing modification date without saving new data in file

Discus and support Changing modification date without saving new data in file in Windows 10 Customization to solve the problem; In windows 10 the modified date changes as the last view date even if I don’t save the file when closing, I don’t want the date to change without... Discussion in 'Windows 10 Customization' started by DesignerRania, Mar 9, 2020.

  1. Changing modification date without saving new data in file


    In windows 10 the modified date changes as the last view date even if I don’t save the file when closing, I don’t want the date to change without modification. What can i do!? This happening in 3dsmax files

    :)
     
    DesignerRania, Mar 9, 2020
    #1
  2. WernerGg Win User

    Wrong file modification dates/times

    Thanks Brian for your interest in that issue with file dates. I wonder why this is not heavily discussed in the community.



    At least we agree for the backup case. If a sync program is similar to a backup program or not is a philosophic question which I would like to avoid. But I think at the end a synchronization should lead to a "similar" state in both synchronized data sets.
    And for me the modification date of a file is an essential information that is part of a files identity. Hence a synchronization should not change it. This is philosophy again. You certainly know these OO discussions about "identity" of objects.

    But leave aside all philosophy. At the end ActiveSync produces the current date as file (modify-) date for all (!) files on the mobiles My Documents, even those that have not been changed since months or years. And this is certainly not a desirable behaviour.

    One reason for that is ActiveSyncs Copy behaviour. An other seems to be its handling of archive bits. I will write on this in a later article.

    I do not agree to that. And Microsoft doesn't either as I will show.

    I agree to that. But this is another question and not relevant for file synchronization. I did not carefully examine how ActiveSync handles directory dates. The file case causes work enough for me.

    How do Windows Mobile and Windows PC handle file dates during copy operations? I made experiments for creation date and modification date. I left aside last-access dates. They seem not being really supported on Windows Mobile and they are not really interesting
    for the user. The creation date is normally not very important as well. What the user needs all day is the modification date. Often this is just named "file date" as a synonym.

    ----------------------

    The following is done completely on a standalone mobile device with WM6.1 not attached to the PC. No ActiveSync interaction.

    Say you have a file in Directory A.

    Created at 07:32, last edited at 08:25.

    ==> in DirA:

    Create Time: 07:32

    Modify Time: 08:25

    1) At 08:30 copy it for the first time to Directory B. It did not exist in DirB.

    ==> in DirB:

    Create Time: 07:32

    Modify Time: 08:25

    +++ Both times are unchanged by copy which is reasonable.

    +++ But I would agree if both times were 08:30

    2) At 08:44 edit the file in DirB

    ==> in DirB:

    Create Time: 07:32

    Modify Time: 08:44

    +++ The file gets the new modified time

    3) At 08:47 copy it back to DirA. Confirm to overwrite the file.

    ==> in DirA:

    Create Time: 07:32

    Modify Time: 08:44

    +++ The create time is not changed from its former value in DirA. As a result of Step 1) this is equal to the create time in DirB.

    +++ The modify time is unchanged (!) which is reasonable.

    ... and so on

    If you do the same on a PC with Windows XP you will see:

    Windows on the PC shows exactly the same behaviour concerning the modification date.

    But - strange enough - it is different concerning the creation date during first copy.

    After Step 1) when you first copy a file the target file will have:

    ==> in DirB:

    Create Time: 08:30

    Modify Time: 08:25

    +++ The modify time is unchanged by copy which is reasonable.

    +++ The create time is changed to time of copy.

    ??? This is a bit strange, because the file was now modified before (!) being created.

    +++ But why not?

    Steps 2) and 3) behave equal as on the mobile.

    The file in DirA keeps its original create date and inherits the modify date from the copy source in DirB.

    ----------------------

    To summarize:

    +++ COPY operations do not change modification dates.

    At least on Windows operating systems. Which is a reasonable behaviour.

    ??? Initial COPY operations (target does not exist) do change the creation date on Windows, but not on Windows Mobile. Which is a strange idea of the Microsoft programmers/designers.

    +++ Later COPY operations (target does already exist) do not change the creation or modification dates.

    At least on Windows operating systems. Which is a reasonable behaviour.

    --- ActiveSync however always changes the modification date to the current date during each copy caused by a synchronization.

    Which I consider an ActiveSync bug or design defect respectively.



    Werner Geiger, IT-Architect
     
    WernerGg, Mar 9, 2020
    #2
  3. Wrong file modification dates/times

    I would agree with you for a backup program. A backup program's purpose it to make copies of data that are as faithful to the original on-disk image as possible. I would never consider a sync program to be a backup program, however.

    Copying a file from one folder to another creates a new file and the dates should change. Moving a file from one folder to another shouldn't change the dates on the file itself, but should change the modification dates on both the old folder and the new
    folder.



    ------------------------------

    If a reply helps, please vote it as helpful. If a reply solves the issue, please mark it as an answer.
     
    Brian Tillman [MVP-Outlook], Mar 9, 2020
    #3
  4. colparis Win User

    Changing modification date without saving new data in file

    Modification date of link files (lnk) is updated when clicked, and if they are in a toolbar

    I'm on Windows 10, and I customized a toolbar in my taskbar, with links to programs (Notepad, Paint, Calc, ...). The steps I followed are:

    • Create a folder MyToolbar
    • In this folder, add the shortcuts to notepad.exe (notepad.lnk) and mspaint.exe (mspaint.lnk)
    • Right click on the taskbar, chose Toolbar, then New Toolbar
    • Chose the folder MyToolbar
    • A new toolbar is created in the taskbar
    Every time I click on one of these icons to launch a program, for example Notepad, the modification date of notepad.lnk in the folder MyToolbar is updated.

    This is annoying: because of this behavior, the synchronization program I use updates this file each time I click on it.

    Can you reproduce this bug? Any solution?
     
    colparis, Mar 9, 2020
    #4
Thema:

Changing modification date without saving new data in file

Loading...
  1. Changing modification date without saving new data in file - Similar Threads - Changing modification date

  2. file modification date set as "Sometime in the future"

    in Windows 10 Gaming
    file modification date set as "Sometime in the future": i was moving files from an sd card to a folder on my pc. when i looked at the files, one of them had a modification date as "sometime in the future". i have my date set correctly on my pc, and i havent messed with the file for months. why did this happen?file name censored...
  3. file modification date set as "Sometime in the future"

    in Windows 10 Software and Apps
    file modification date set as "Sometime in the future": i was moving files from an sd card to a folder on my pc. when i looked at the files, one of them had a modification date as "sometime in the future". i have my date set correctly on my pc, and i havent messed with the file for months. why did this happen?file name censored...
  4. I didn't open or change the files, but the file modification date changes

    in Windows 10 Gaming
    I didn't open or change the files, but the file modification date changes: Dear Microsoft Support,I've noticed an issue on my laptop where file modification dates are changing, even though I haven't opened or modified these files. I'm wondering if this could be caused by a system software update. Has this issue been reported by other...
  5. I didn't open or change the files, but the file modification date changes

    in Windows 10 Software and Apps
    I didn't open or change the files, but the file modification date changes: Dear Microsoft Support,I've noticed an issue on my laptop where file modification dates are changing, even though I haven't opened or modified these files. I'm wondering if this could be caused by a system software update. Has this issue been reported by other...
  6. I didn't open or change the files, but the file modification date changes

    in Windows 10 Network and Sharing
    I didn't open or change the files, but the file modification date changes: Dear Microsoft Support,I've noticed an issue on my laptop where file modification dates are changing, even though I haven't opened or modified these files. I'm wondering if this could be caused by a system software update. Has this issue been reported by other...
  7. If you make modifications and save the file after the program opens it, the creation date...

    in Windows 10 Network and Sharing
    If you make modifications and save the file after the program opens it, the creation date...: Windows 10 Home Version : 21H2Translated EnglishNormally, when I open a file in the program, edit it and save it, the file's creation date remains the same, and only the modified date and accessed date change. However, a problem occurred after I bought an NVME SSD for storage...
  8. Easily copy files without changing file dates

    in Windows 10 Network and Sharing
    Easily copy files without changing file dates: Another really annoying issue. I, like so many others if not everyone, want to copy files with Explorer and keep the original file dates. So simple and basic but it seems I have use e.g. Robocopy or some other third party command line process. Why can't Explorer "just do...
  9. Folders and files modification date not updating in Widows Explorer

    in Windows 10 Support
    Folders and files modification date not updating in Widows Explorer: As a long-time user of Windows OS in all its iterations, what I'm going to ask y'all has me totally stumped. I've looked on-line for solutions but have not found anything definitive. I apologize if anything like what I'm going to describe has been asked/answered; I only...
  10. OneDrive file modification dates

    in Windows 10 Network and Sharing
    OneDrive file modification dates: When I modify a file in my desktop OneDrive folder, and upload it to my mobile OneDrive folder, the date does not match the modified date from my desktop. It could have a date that's months old. This creates doubt whether the mobile file has all the current changes, so if I...