<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>Dear All,<br>&nbsp;<br>I have some grib files in windows with similar names like: <br>pgbh06.gdas.2007110612.grb2&nbsp; , pgbh06.gdas.2007110618.grb2, .....<br><br>How can I create their .ctl files with the command " g2ctl.pl", at the same time? I mean how I can do this without repeating the command for all seprate files?<br>&nbsp;<br>Furthermore, how can I do this also in grads for creating &nbsp;.idx files from those .ctl files with command "!gribmap -iv" without repeating the processes?<br>&nbsp;<br>Regards,<br>&nbsp;<br>T.<br>                                               <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                                </div></body>
</html>