How to run Repeat command/Command Script in sequence?

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

Post Reply
mike nardini
Member
Member
Posts: 11
Joined: 2004 Dec 28, 20:25

How to run Repeat command/Command Script in sequence?

Post by mike nardini »

I'm trying to zip  several hundreds folders into separate zip files
So I've created a batch script (.bat)
Repeating the .BAT on my list of folders using  "command script"   (tools menu) the computer freezes when I run it on more than 10 folders.

Is there any suggestion for running script on larger number of folders?

tnx
Mike
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

how does this script look like?
mike nardini
Member
Member
Posts: 11
Joined: 2004 Dec 28, 20:25

Post by mike nardini »

Hi Nikos
tnx for answering
the script is very simple
a .bat  file contains this instruction:   rar a "%1" "%~n1"
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

i see you aren't using any of the x2 tokens here
mike nardini
Member
Member
Posts: 11
Joined: 2004 Dec 28, 20:25

Post by mike nardini »

uhmm...
you mean I should go straight running the command without using a bat?
so in this case every item would run at the completion of the previous?
tnx again
mike
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

@ ... every item would run at the completion of the previous?
That's the idea. :)
That way your 'puter is less likely to choke by being fed too many things at once.
BRX
Silver Member
Silver Member
Posts: 304
Joined: 2002 Feb 08, 12:12

Post by BRX »

Maybe you have reasons for using bat and command line, but just to be sure:

You know that rar or rather Winrar has an option to pack each file (or folder) in a separate archive?
Post Reply