[go: up one dir, main page]

Moving a file does not necessarily set archive bit

edit

Unlike what the article states, when I move a folder on Windows 7 Ultimate, and that folder contains a file that has its archive bit cleared, then the archive bit of that file is NOT set.

  1. Create a folder
  2. Create a file in the folder
  3. Clear the archive bit of the file
  4. Move the folder to another location
  5. Check the file's archive bit: It is still cleared — Preceding unsigned comment added by 60.241.91.114 (talk) 08:17, 10 May 2013 (UTC)Reply
That would most certainly be because the file itself is not moved. It is the directory that moves, but the file still remains in that directory, so the archive bit is not modified. This only holds as long as the move takes place within the same filesystem, of course. If you move the directory to another filesystem, the archive bit will be set as expected. --JITR (talk) 07:41, 21 October 2015 (UTC)Reply