Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.