home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / pmsw.zip / PMSW / PMSWALL.ZIP / USER / ATLOGON.CMD < prev    next >
OS/2 REXX Batch file  |  1994-01-19  |  513b  |  18 lines

  1. /* rexx */
  2. parse arg userid options
  3. if options='' then options='/P'; /* prompt for password */
  4. /* 'LOGON ' userid options
  5. */
  6.  
  7. /* Use LANLOGON synchronization of lan passwords across domains
  8.    See \os2\apps\domain.lst for a list of domains used
  9. */
  10.  
  11. '@lanlogon -u BRUCEH'
  12.  
  13. /* If user wants to issue net use commands in \user\netuse1.cmd, netuse2.cmd... */
  14. Call SysFileTree "\USER\NETUSE*.CMD","FSTEM","FO";
  15. if FSTEM.0>0 then do i=1 to FSTEM.0;
  16.    '@START "NET USE" /c /min' FSTEM.i;
  17. end  /* Do */
  18.