file rename
Posted by Aryeh Weiss on Sep 17, 2008; 7:06am
URL: http://imagej.273.s1.nabble.com/Image-quality-evaluation-tp3695062p3695064.html
I am trying to use the following macro function:
> *File.rename(path1, path2)* - Renames, or moves, a file or directory.
> Returns "1" (true) if successful. The file or directory must be in the
> user's home directory, the ImageJ directory or the temp directory.
> Requires 1.38b.
I had previously used getDirectory to select a directory.
Must I specify the whole path for rename, or can it work in the
directory I have selected with
getDirectory? That directory is not the ImageJ directory, and not the
temp directory, and I dont think it is the home directory,
but there must be something obvious that I am missing.
--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384050