It was added in J7. Here is the definition: frename=: 4 : 0 x=. > fboxname x y=. > fboxname y if. x -: y do. return. end. if. IFUNIX do. 2!:0 'mv "',y,'" "',x,'"' else. 'kernel32 MoveFileW i *w *w' 15!:0 (uucp y);uucp x end. )
On Wed, Nov 9, 2011 at 5:59 PM, Raul Miller <[email protected]> wrote: > I think it's j7 only. > > -- > Raul > > On Wed, Nov 9, 2011 at 5:51 PM, Skip Cave <[email protected]> wrote: > > I can't find frename. I have loaded the base library in package manager, > > (j6.02) and the name is not recognized. Is it in a different package? > > > > Skip > > > > On Wed, Nov 9, 2011 at 4:00 PM, Eric Iverson <[email protected] > >wrote: > > > >> frename might do what you want. > >> > >> On Wed, Nov 9, 2011 at 3:54 PM, Raul Miller <[email protected]> > wrote: > >> > >> > Do we have an os-independent mechanism for renaming files (and > >> > directories and symbolic links and so on) in J? > >> > > >> > Thanks, > >> > > >> > -- > >> > Raul > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
