Re: Linux to Batch


Subject: Re: Linux to Batch
From: Joshua J.Kugler (isd@as.uaf.edu)
Date: Wed Oct 16 2002 - 13:50:22 AKDT


No tips on the batch stuff, but get Cygwin's tools and run a bash script
under Windows. :)

On Wednesday 16 October 2002 13:46, bthundereagle@aidea.org wrote:
> 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.

-- 
Joshua Kugler, Information Services Director
Associated Students of the University of Alaska Fairbanks
isd@asuaf.org, 907-474-7601

--------- 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:53:43 AKDT