简体   繁体   中英

Windows equivalent command for linux's 'touch' to update file timestamp

In Linux based systems, if I've existing file and I just want to change its timestamp. I use following command -

touch <file-name>

Is there any equivalent command in Windows to just change file's timestamp?

You can use 'touch.exe' tiny and stand alone command from Steve Miller's Win32 Console ToolBox 1.1 (freeware) from https://stevemiller.net/apps/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM