for DIR in `ls -d [a-k]* lts mon [n-z]*` do if [ -d $DIR/bld ]; then cd $DIR/bld cbsfpfg.exe `echo "cbs"$DIR$RELEASE $DIR` cd ../.. fi done