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

1 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .