MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: change filename automatically in Export Command


serdal kirmizialtin schrieb:
>
> Hi All,
> Does anybody know how to change the name of the file with a Do loop in the =
> Export comand
> For example
> I want to name my files as a1.png a2.png a3.png ....a1000.png
> each time I use the following command
> Export["filename",aa1,"PNG"]
>
> i need to change filename by hand is there a way of doing it automatically=

Do you want

Do[
  Export["a"<>ToString[i]<>".png", aa1, "PNG"],
  {i,1,1000}
]


Gruss Peter
-- 
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Limit of Floor function
  • Next by Date: Re: Limit of Floor function
  • Previous by thread: Re: change filename automatically in Export Command
  • Next by thread: Re: change filename automatically in Export Command