Why can't I change the date of a directory?

From TotalcmdWiki
Jump to navigation Jump to search

A: This is a limitation of DOS. To change the date of a file, DOS must open the file. Since you cannot open directories for reading or writing, you cannot change their dates. Since version 4.03, it's possible to change the date/time of a directory through a DOS function for long filenames. Starting with Total Commander 4.53, you can also change the timestamp of directories on Windows NT and Windows 2000, but only if you login as an administrator, because you need backup privileges to open folders for modification.


-------
Back to File operations