WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Move each file to new directory (Read 1825 times)
YaBB Newbies

Posts: 5
Move each file to new directory
Apr 6th, 2006 at 12:46am
Thanks heaps for your help previously. I have another question which hopefully you can help me on.

I have a folder where multiple files are put. I would like to move each file as to a different directory (1-10).

c:\watch\ - The directory where the files are initially stored
copy first file to      c:\watch\[b]file1[/b]
copy second file to c:\watch\[b]file2[/b]
copy third file to     c:\watch\[b]file3[/b]
so on...till I get to 10...then start again from 1.

I was thinkin VB script but I thought you might have a better idea.

Thanks in advance.
Back to top
IP Logged
Page Index Toggle Pages: 1