Find and copy

Home Forums Scripting DOS Command Shell Find and copy

This topic contains 0 replies, has 1 voice, and was last updated by  aarabe013 1 month, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts

  • aarabe013
    Member
    #167723

    Hi!

    I want to request a code to for my scenario

    I had this filename in this folder.

    FOLDER NAME “STRUCTURE”

    MCRP-DWG-ANG-AR-0001_[A].pdf
    MCRP-DWG-ANG-AR-0001_.pdf
    MCRP-DWG-ANG-AR-0001_[C].pdf

    MCRP-DWG-ANG-AR-0002_[A].pdf
    MCRP-DWG-ANG-AR-0002_
    .pdf

    MCRP-DWG-ANG-ST-0001_[A].pdf
    MCRP-DWG-ANG-ST-0001_
    .pdf
    MCRP-DWG-ANG-ST-0001_[C].pdf

    MCRP-DWG-ANG-ST-0002_[A].pdf
    MCRP-DWG-ANG-ST-0002_
    .pdf

    OUTPUT:

    FOLDER “ANG”

    CONTENT FOLDER “AR”
    FILE CONTENT:
    MCRP-DWG-ANG-AR-0001_[C].pdf
    MCRP-DWG-ANG-AR-0002_
    .pdf

    CONTENT FOLDER “ST”
    FILE CONTENT:
    MCRP-DWG-ANG-ST-0001_[C].pdf
    MCRP-DWG-ANG-ST-0002_
    .pdf

    ONLY THE UPDATED FILE SHOULD BE IN FOLDER SEE OUPUT.

    THANKS IN ADVANCE

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.