--- In [email protected], "tproli" <[EMAIL PROTECTED]> wrote:
>
> > Check the value of a pp variable called ContextLast
> 
> Many thanks Sheri, now works as a charm, except one thing: if 
> selecting more than 10 files, an error appears (file not found).

I think you are still passing all the file names to the command line,
just space separated. So there could be problems with spaces in file
names and also with exceeding the maximum length of a shell command.
Since you're expanding variables using expression follows &, I think
there could also be an issue with the maximum length of a powerpro
command. I think you need to write the filenames to a file (one per
line) and include only that file's name at the end of the rar command.
Prefix the filename with a "@" to signify it is a listfile instead of
the file to be archived (refer to rar docs).

You're using the old format of script commands which is more difficult
than the newer syntax. Are you using a recent version of Powerpro?
Also what version of Windows are you running?
 
Regards,
Sheri

Reply via email to