John Fitzsimons <(E-Mail Removed)> says in
news:(E-Mail Removed):
>
> I was thinking of doing a project yesterday (since
> abandoned) that required multiple copies of a template. In
> text or html. Is there a quick and easy way to do this ? A
> utility perhaps ?
>
> I know I can create a file, go File - Save as and change
> the filename, but that would get very tedious after a
> while. Particularly if I wanted dozens of identical files.
>
> Suggestions anyone ?
>
> Regards, John.
>
Hi, John, do you use AutoIt? If you do, here are a few lines
that would work:
- change "text.txt" in "\text.txt" into the filename you want to
copy;
- change "text" in "\text" into the destination filename;
- change ".txt" into the destination filename extension would
do.
- change "5" in "$num = 5" into the number of file you want to
copy.
;================
$num = 1
do
FileCopy (@ScriptDir & "\text.txt", @ScriptDir & "\text" & $num
&".txt")
$num = $num + 1
until $num = 5
Exit
; ==========================
--
RL
Unofficial Adaware Updater; Little (File) Backer Upper; Uptime
Quickie; Tray Quickie; Google Quickie; Lefty Animated Cursors;
http://home.earthlink.net/~ringomei/page2.html
*******************************************
Places that list the Pricelessware annual voting results and
information:
http://www.pricelessware.org,
http://lesspriceware.netfirms.com/