| Title: | *OLD* ALL-IN-1 (tm) Support Conference | 
| Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 | 
| Moderator: | IOSG::PYE | 
| Created: | Thu Jan 30 1992 | 
| Last Modified: | Tue Jan 23 1996 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 4343 | 
| Total number of notes: | 18308 | 
    ALL-IN-1 2.4
    
    hi!
    
    i have about 300 ALL-IN-1 profiles on which i need to modify the .direct
    field. the VMS directory spec has changed.
    
    	old 		disk$1:[smith]
        new		disk$1:[111smith]
    
    is there anyway to just append the "111" to the .direct field?
    
    mucho gracias - ann
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2774.1 | Just to prove I'm a hacker... | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Fri May 28 1993 17:18 | 13 | 
|     In the absence of lexicals in V2.4, why not be tacky and call a command
    procedure inside a loop through the profil:
    
    	FOR PROFIL DO -
    	  COMMAND MUNGE .DIRECT\\ -
          WRITE CHANGE PROFIL KEY = .%KEY,DIRECT = #DIR
    
    Where MUNGE.COM reads the existoing directory field in as a parameter,
    and writes it back through the mailbox into a temporary symbol.
    Actually, I suppose it could do the profile write directly if you gave
    it the key.
    
    Graham
 | |||||