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

797 views      
Thread locked
 

Messages in this Thread

 
95,888 Postings in 12,107 Threads, 350 registered users, 25 users online (2 registered, 23 guests)
Index | Admin contact |   Forum Time: May 23, 2022 - 6:43 pm UTC  |  Hits:48,180,395  (13,713 Today )
RSS Feed