ZTree.com  | ZEN  | About...  

 Index   Back

Partly solved   [Q]

By: Leonard R. Miller     Locust Bayou, Arkansas  
Date: Dec 21,2010 at 09:00
In Response to: Partly solved (Leonard R. Miller)

>
> Now -- to cram on how to use Alt-Batch or Ctrl-Batch within Ztree.
>
> Tips will be appreciated.
>
> Len

It's been so long since I used Ctrl-Batch that I was making a mountain out of a mole hill.


With the entire directory in view, I tagged all files. Then Ctrl-Batch to create TrialCopy.bat. A simple line mask such as:
copy %4.%5 F:\LenPassive\temp\

created the batch file perfectly. I then opened that file in my TextPad editor. I created a simple macro that inserted 5 spaces before each copy statement. That allowed me to paste that randomized list (a column) of integers prior to the statements. In textpad I then sorted the entire file by those integers.

Next, delete the column of integers to leave only the batch commands.

I then split the file into two separate batch files, one to use this period of time -- the other to use at another -- my ultimate objective

This way I'm using a completely unique file list each period.

Sorry I didn't make it clear. That's always been my problem.

Len



>
>
> > I have a list of files which I want to copy to another drive. But I
> > want them to have a random sequence and I see that Ztree doesn't
> offer
> > that.
> >
> > I've thought of tagging and copying my list into Excel (well --
> > OpenOffice Calc), add a column of integers created by a random
> function,
> > then sort by that column. From there, copy the list (less the
> integers)
> > to a text file and use Ztree's batch creation ability (I'd have to
> ask
> > how to do that) to do the end result.
> >
> > However, I've tried OpenOffice Calc formula as follows
> > =RANDBETWEEN(1;10), placing into each cell of the column and get a
> random
> > number in each of the 10 cells but, more often than not, there are
> > duplicates.
> >
> > Any way I can generate a list of unique integers?
> >
> > Len

1,003 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 71 users online (0 registered, 71 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 7:06 am UTC  |  Hits:62,396,195  (10,981 Today )
RSS Feed