Audio (347)       Datatype (51)       Demo (204)       Development (609)       Document (24)       Driver (98)       Emulation (153)       Game (1027)       Graphics (510)       Library (119)       Network (236)       Office (67)       Utility (938)       Video (72) 
  Total files: 4455
  Full index file Recent index file
 
    Amigans.net   Aminet   IntuitionBase   Hyperion Entertainment   A-Eon   Amiga Future
 
  
  
 | 
  [Back to readme page]   [Add Comment]   [Refresh page]
 
 | Comment by: Severin (91.125.91.55) | At: 07 Aug 2013, 00:49 | File version: 1.1 |  I tried Foreach tonight and would like to be able to use %s at least twice in the command for redireting the output from a program that just dumps data to the shell eg.    Foreach FILE "#?.jpg" DO "djpeg -scale 1/8 %s >ram:%s"    gives:    NIL::1: djpeg: unable to open redirection file  NIL::1: djpeg failed returncode 10    with verbose on I get:    > Foreach FILE "#?.jpg" DO "djpeg -scale 1/8 %s >ram:%s" verbose  0. cmd = "djpeg -scale 1/8 8033.jpg >ram:"  NIL::1: djpeg: unable to open redirection file  NIL::1: djpeg failed returncode 10    It would be far easier than doing;    list #?.jpg lformat "djpeg -scale 1/8 *"%N*" >*"ram:%N*"" to pipe: | execute pipe:    all the time... 
  |  |   |  |   |  
 
  |