Results 1 to 10 of 10

Thread: [SOLVED]Move number of files

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Posts
    203

    [SOLVED]Move number of files

    Hey, I'm kinda stuck on this one.
    I'm trying to write a tool to move a number of files to a folder.
    Example : I have a folder that contains 6 images.
    I then press a button, and for each 2 images it creates a folder (1,2,3,...) and moves the two images in the newly created folder.

    So:
    001.jpg
    002.jpg
    003.jpg
    004.jpg
    005.jpg
    006.jpg

    This will result in 3 folders
    F1: 001.jpg, 002.jpg
    F2: 003.jpg, 004.jpg
    F3: 005.jpg, 006.jpg

    What I tried:
    I tried placing all files in the folder in a listbox with the full path, but I can't figure out what to do from here.

    The most troublesome part is, how to make it move 2 files at a time, place them in a folder and them move onto the next 2 until the folder is empty.

    help?
    Last edited by vixez; Nov 17th, 2009 at 01:02 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width