none
Ctime on Windows OS RRS feed

  • Question

  • Hi All... I wanted to know how we can manually change ctime on a file in Windows OS ?

    Changing ctime on linux is very simple. But we could not find any way to change it on Windows. 

    We need this to validate incremental backup data.

    Wednesday, September 11, 2019 9:04 AM

All replies

  • I wanted to know how we can manually change ctime on a file in Windows OS ?

    In any langage, with SetFileTime

    or, by command, with PowerShell, like :

    powershell (ls e:\\test.txt).LastWriteTime = '2019/09/15'


    Wednesday, September 11, 2019 11:51 AM