+ Reply to Thread
Results 1 to 7 of 7

Create folders and move and copy files into that folders

  1. #1
    Registered User
    Join Date
    08-03-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    Question Create folders and move and copy files into that folders

    Hi All,

    In my floder having hundreds sub floders and files like this. It will reduce and save my work hours.

    1. I need to create floders using charecters before the hypen mark like monday one first, monday second first and copy the files into that floder.

    2. copy the specific type of the files only into one floder and another option to move files into that floder.


    floder name Jan2009

    mars one first - 12012009.log
    mars one first - 12012009.txt
    mars one first - 12012009.mp3
    mars one first - 12012009.xls
    mars one first - 12012009.csv

    navy second first - 13012009.log
    navy second first - 13012009.txt
    navy second first - 13012009.mp3
    navy second first - 13012009.xls
    navy second first - 13012009.csv

    floder name Dec2010

    thunder one first - 12122010.log
    thunder one first - 12122010.txt
    thunder one first - 12122010.mp3
    thunder one first - 12122010.xls
    thunder one first - 12122010.csv

    army second first - 13122010.log
    army second first - 13122010.txt
    army second first - 13122010.mp3
    army second first - 13122010.xls
    army second first - 13122010.csv


    Thanks in advance
    Vijay

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Create folders and move and copy files into that folders

    Not sure that I fully understood the question but this might help.

    Please Login or Register  to view this content.
    I've assumed that the source files are in one folder "C:\temp2\" and that the new structure sits under "C:\temp\"
    Martin

  3. #3
    Registered User
    Join Date
    08-03-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create folders and move and copy files into that folders

    I tried but unable to create the floders into target path location. Please suggest me and find the attached screenshot for your reference.

    Thank you
    Vijay
    Attached Images Attached Images

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Create folders and move and copy files into that folders

    Can you provide the full path of the Report 2010 folder so that I can write something that will work without alteration.

    Also, do you want the code to generate the list of files to move or copy by searching through the existing folder structure?

  5. #5
    Registered User
    Join Date
    08-03-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create folders and move and copy files into that folders

    Source path D:\Report 2010 and Target path D:\Report 2010new
    Yes you are perfect. I need list of files information also.

    Thank you
    Vijay

  6. #6
    Registered User
    Join Date
    08-03-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    SLOVED Create folders and move and copy files into that folders

    Thank you soo much. I am really very happy you saved my work hours.
    Million thanks to you

    Thank you
    Vijay

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,327

    Re: Create folders and move and copy files into that folders

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1