1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

copy /w /p prompts for deletion, but ...

Discussion in 'Support' started by ChrisZ16, Sep 28, 2017.

  1. ChrisZ16

    Joined:
    Sep 28, 2017
    Messages:
    1
    Likes Received:
    0
    I synchronize from my PC "one way" to my NAS:

    [D:\Temp]copy /[!*.wbk] /u /w /p /s /v /l /e d:\winword h:\winword

    If there are files to delete in the target directory, TCC asks:

    Delete H:\winword\Text\* (Y/N/A/R)? Y
    Deleting H:\winword\Text\xxx.pdf
    Delete H:\winword\Text\* (Y/N/A/R)? Y
    Deleting H:\winword\Text\yyy.txt
    Delete H:\winword\Text\* (Y/N/A/R)? Y
    Deleting H:\winword\Text\zzz.pdf
    (...)

    The deletions are correct, but I cannot see the file to be deleted in advance, only when it's gone already. Is that how /w together with /p is supposed to work?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    WAD - in COPY , /P prompts for the source name. With /W, the source is the directory name, not an individual file name.
     
  3. fpefpe

    Joined:
    Oct 18, 2008
    Messages:
    247
    Likes Received:
    1
    would the /n switch work here to get a preview?
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Yes.
     

Share This Page