VBScript to copy first business day of the month file

Discussion in 'Visual Basic ( VB )' started by tyme, Jul 17, 2012.

  1. tyme

    tyme New Member

    Joined:
    Jul 17, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    I have a folder contain many subfolders. The subfolders filename is in yymmdd format. How can i do a vbscript to copy selected files in the subfolder where the subfolder filename is the first business day of the month?..example 2 june 2012 is the first business day in june..so i want the vbscript to copy selected file in the 120602 folder to another target folder...if 1 july 2012 is the first business day in july then i want the vbscript to copy selected file in the 120701 folder to another target folder...thanks in advance for any help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice