yes of course I am stupid, it was too late yesterday.
But I confirm I need to launch a command for each text file in directory,
it is not erase but webalizer.
To sum up I would like to convert this linux script in a windows script :
for i in /etc/webalizer/*.conf; do webalizer -c $i; done
Thanks for helping
> On Mon, 18 Aug 2003 00:50:23 +0200, "thierry"
> >I would like to write a bat script which would do this :
> >for i in d:/toto/*.txt; do erase $i done
> >then I would like to erase all files which have the txt extension in the
> >current directory where
> >is executed the .bat
> Perhaps I'm missing something obvious, but why not simply:
> erase d:\toto\*.txt
> Note that DOS shells typically use the backslash, not the
> forward slash, as a path separator.