Mio,

The easiest method to effect this change is to edit the file  'profile.ijs'  in 
the root of your J directory.  Change line  56  from:

        tmp=. prf,sep,'temp'

to
        tmp=. jhostpath 'absolute\path\to\your\tmp\dir'


If you don't feel comfortable doing this, you could just add:

        tmp               =. jhostpath 'absolute\path\to\your\tmp\dir'
        SYSTEMFOLDERS_j_  =:  (<tmp) (< 1 ;~ (<'temp') i.~ {."1 
SYSTEMFOLDERS_j_ ) } SYSTEMFOLDERS_j_ 

to your personal startup script (the one you've defined at  
Edit>Configure>Startup>Startup Script  ), though since that'll get loaded after 
the entire J library, any uses of the temp folder during J's startup will still 
reference the standard directory (an example is the location of the  IJX  file).

By the way, most of the IDE's behavior is modifiable, because it's defined by J 
scripts.  For example, if you didn't want to alter the meaning of  jpath 
'~temp'  , but still wanted to specify where temporary IJS files are created, 
you could just change the single definition  new=:  in the file  
'~system\extras\util\jijs.ijs'  (lines  548 + i.7  ).  Modify the two 
references to  jpath '~temp'  appropriately  (lines  2,5  of the definition).

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to