home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / network / chkstore / profile.smp < prev    next >
Text File  |  1993-05-04  |  2KB  |  31 lines

  1. /*------------------------------------------------------------*/
  2. /* PROGRAM NAME : PROFILE.CMD                                 */
  3. /* VERSION      : 1.00                                        */
  4. /* AUTHOR       : David Kelsey                                */
  5. /* CMD FORMAT   : PROFILE                                     */
  6. /* CALLED FROM  : user logon to the LAN server                */
  7. /* PURPOSE      : to transfer control to LOGON resource which */
  8. /*              : has all the code needed to run logon prgs   */
  9. /* PRE-REQS     : REXXSAA on the requester                    */
  10. /* INPUT        : none                                        */
  11. /* OUTPUT       : none                                        */
  12. /*                                                            */
  13. /*                                                            */
  14. /*                   Maintenance log                          */
  15. /*   date      time                           action          */
  16. /*   ----      ----                           ------          */
  17. /* 11/09/92    16:35                       initial coding     */
  18. /*------------------------------------------------------------*/
  19.  
  20. alias = 'LOGON'
  21. drive = 'U'
  22. start = '/WIN logonprf'
  23.  
  24. '@ECHO OFF'
  25. 'NET USE' drive':' alias '> NUL'
  26. if rc = 0 then do
  27.   drive':'
  28.   'START' start drive   /*    this program must release the   */
  29. end                     /* resource and close it's own window */
  30. exit 0                  /* exit 0 to stop any problems        */
  31.