I tested a directory date change via touch with the /n option
TCC showed the proposed change. When I removed the /n the change failed. I had to put the /a:d option first and remove the \ from the directory name. See below:
C:\...d\AppData\Local\Temp>md testdater
C:\...d\AppData\Local\Temp>touch /n /d01-10-2000 /a:d testdater\
1/10/2000 13:06:53.193 C:\Users\Howard\AppData\Local\Temp\testdater\
C:\...d\AppData\Local\Temp>touch /d01-10-2000 /a:d testdater\
TCC: (Sys) The system cannot find the file specified.
"C:\Users\Howard\AppData\Local\Temp\testdater\"
C:\...d\AppData\Local\Temp>touch /a:d /d01-10-2000 testdater\
TCC: (Sys) The system cannot find the file specified.
"C:\Users\Howard\AppData\Local\Temp\testdater\"
C:\...d\AppData\Local\Temp>touch /a:d /d01-10-2000 testdater
1/10/2000 13:07:34.939 C:\Users\Howard\AppData\Local\Temp\testdater
C:\...d\AppData\Local\Temp>
TCC showed the proposed change. When I removed the /n the change failed. I had to put the /a:d option first and remove the \ from the directory name. See below:
C:\...d\AppData\Local\Temp>md testdater
C:\...d\AppData\Local\Temp>touch /n /d01-10-2000 /a:d testdater\
1/10/2000 13:06:53.193 C:\Users\Howard\AppData\Local\Temp\testdater\
C:\...d\AppData\Local\Temp>touch /d01-10-2000 /a:d testdater\
TCC: (Sys) The system cannot find the file specified.
"C:\Users\Howard\AppData\Local\Temp\testdater\"
C:\...d\AppData\Local\Temp>touch /a:d /d01-10-2000 testdater\
TCC: (Sys) The system cannot find the file specified.
"C:\Users\Howard\AppData\Local\Temp\testdater\"
C:\...d\AppData\Local\Temp>touch /a:d /d01-10-2000 testdater
1/10/2000 13:07:34.939 C:\Users\Howard\AppData\Local\Temp\testdater
C:\...d\AppData\Local\Temp>