Wow...seems FOR did a little more than I first thought when I saw the
   command format. I thought it just looped a file, and supplied a
   command with a line from the file, executing the same command each
   time, just with a diffent piece of data...

> -----Original Message-----
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
> Sent: Thursday, September 02, 2010 6:42 PM
> To: 'U2 Users List'
> Subject: Re: [U2] running ftp from UV (Windows)
> 
> The FOR command can take input from a file or a string :-
> 
> HELP FOR
> Runs a specified command for each file in a set of files.
> 
> FOR %variable IN (set) DO command [command-parameters]
> 
>   %variable  Specifies a single letter replaceable parameter.
>   (set)      Specifies a set of one or more files.  Wildcards may be
> used.
>   command    Specifies the command to carry out for each file.
>   command-parameters
>              Specifies parameters or switches for the specified
> command.
> 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to