1

I've seen a suggestion to change a file's modification timestamp with the copy command:

>copy file.ext +b

Is there a way to do this on a XP machine without copying or external programs?

Edit: I asked the question because my mp3 player irritatingly lists files by modification stamp. This is what I ended up doing:

>dir *.mp3 /b > dir.txt
>for /f "delims=" %f in (dir.txt) do copy "%f" +b
>del dir.txt
Cfinley
  • 1,435

1 Answers1

2

Nope, copy seems to be the only way to go without using other external programs. See this question.