On Wed, 10 Jan 2001, Kevin Shackleton wrote:
> n = 1
> while true do
> mkdir n
> mcopy b:*.* n
> n = n + 1
> echo "change discs, press a key"
> read JUNK
> done
Try:
n=1
while true
do
mkdir $n
mcopy b:*.* $n
n=$(($n + 1))
echo -n "change discs, press a key: "
read JUNK
done
the "echo -n" is optional :) It just looks prettier
- Matt