Linux to Batch


Subject: Linux to Batch
bthundereagle@aidea.org
Date: Wed Oct 16 2002 - 13:46:45 AKDT


Using the folling as an example from Horde:
    for foo in *.dist; do cp $foo `basename $foo .dist`; done

Does anyone know how I might do the same thing in a Dos batch script? I first
need to detect if there is more than one file in a directory, I then need to
move those files one at a time to be processed.

     Brian ThunderEagle
     - bthundereagle@aidea.org
     - furbs@swjedi.net
     - http://www.swjedi.net

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Oct 16 2002 - 13:48:59 AKDT