Results 1 to 5 of 5
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Move files from one folder to another

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    is there a way to move files from folder A to folder B without activating folder A?

    I have a folder that contains some 100,000 files. I need to move some of these files to Folder A, run a process to find duplicates in Folder A and then end up with the unique files in Folder A. After that, I need to move the files from Folder A to folder B. This process repeats until all duplicate files are removed.

    Can I do this without activating Folder A? I need this because that would mean that when I come back to the Original folder, the one with 100,000 files, it takes Windows Explorer 10 minutes, that I don't have <img src=/S/drop.gif border=0 alt=drop width=23 height=23>, to simply bulid the list of files to display.

    I want to avoid this waiting for Windows Explorer to build the list. I have stopped indexing, it helped, but not by much.

    Any ideas?

    Thanks

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Move files from one folder to another

    Why not do the whole thing from a command prompt, then Windows Explorer wouldn't need to display any lists at all.

    StuartR

  3. #3
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Move files from one folder to another

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> Stuart

    <<< Why not do the whole thing from a command prompt, >>> [cconfused]

    I thought the whole thing about the Drag and Drop was the way to go?

    Can you give me an example?

    Or are you talking about having a command window open only for the moving part after the filtering is done? Hum!!! that sounds OK, still I can see a short cut with the F3 button that repeats the last command. OK, I'll try it, but I still would like to see that example. You know the Federal Government works with the lowest bidder <img src=/S/cloud9.gif border=0 alt=cloud9 width=25 height=23> <img src=/S/flee.gif border=0 alt=flee width=25 height=25>

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Move files from one folder to another

    Wassim,

    I don't know enough about the tools you are going to use to give a full answer. To copy files from one folder to another at a command prompt you silmply type commands like
    <code> C:> copy d:dirdir*.ext e:dirdir</code>
    <code> C:> copy d:dirdirabc* e:dirdir</code>

    This has the advantage that you don't have to "activate" any of the directories in Windows Explorer, which can save a lot of time if they have many files.

    If you needed to select some complex combination of files you could do this with multiple copy commands. You can put all the copy commands into a file called (for example) docopy.bat. That way you could specify specific file names, wildcards etc and issue lots of copy commands one after another.

    StuartR

  5. #5
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move files from one folder to another

    Or write a program in say, VBA to do the deed.

Posting Permissions

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