Login  Register

Copying files with a Macro?

Posted by Adam Cliffe on Jan 21, 2010; 9:46am
URL: http://imagej.273.s1.nabble.com/Copying-files-with-a-Macro-tp3689619.html

I'm trying to get a macro to make a copy of a few XML files while it
is processing images.

I've tried using: File.rename(path1, path2);

But this removes the original. Does anyone know a good trick for
copying a file? Or do I just need to open it, save it somewhere else
and close it?

thanks

Adam


Dr Adam Cliffe
Research Scientist, Rorth Lab

Institute of Molecular and Cell Biology
61 Biopolis Drive
Proteos
Singapore 138673

tel: +65 6586 9731









Note: This message may contain confidential information. If this Email/Fax has been sent to you by mistake, please notify the sender and delete it immediately. Thank you.