- May
- 382
- 2
Which of c a w times of a file can TOUCH change?
The help file, if I read correctly, says all three, but I can't get it to work.
I'm using an NTFS-formatted USB drive, I think that's a LFN drive, isn't it?
TCC 9.02.147 Windows XP [Version 5,1.2600]
According to TOUCH all of a c w times where changed - at least that's how I interpret the output, but according to DIR only w time was changed. What am I doing wrong?
The help file, if I read correctly, says all three, but I can't get it to work.
I'm using an NTFS-formatted USB drive, I think that's a LFN drive, isn't it?
TCC 9.02.147 Windows XP [Version 5,1.2600]
Code:
C:\temp>del /q /e a & > a & for %i in (a c w) dir /M /K /H /T:%i a
28-09-2008 16:29 0 a
28-09-2008 16:25 0 a
28-09-2008 16:29 0 a
C:\temp>for %i in (a c w) touch /T%[i]17:01 a
28-09-2008 17:01:00,000 C:\temp\a
28-09-2008 17:01:00,000 C:\temp\a
28-09-2008 17:01:00,000 C:\temp\a
C:\temp>for %i in (a c w) dir /M /K /H /T:%i a
28-09-2008 16:29 0 a
28-09-2008 16:25 0 a
28-09-2008 17:01 0 a
According to TOUCH all of a c w times where changed - at least that's how I interpret the output, but according to DIR only w time was changed. What am I doing wrong?