Touch command — I Need to touch matching files in another directory.

Discussion in 'More' started by cwc, Oct 5, 2015.

  1. cwc

    cwc Guest

    I’ve used the Touch command to copy the dates & times from one file to another, but now I have thousands of files to deal with. I need to copy the dates and times of a directory and its files and subdirectories to matching files and subdirectories in another directory. After studying the documentation on the Touch command, I tried the following —
    touch /r "E:MyDir\" /s "F:MyDir\"

    It didn’t work — I got a “Can’t find the file "F:MyDir\" message.

    Can the...

    Touch command — I Need to touch matching files in another directory.
     

Share This Page

Forums Teetk

Teetk

Forums