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

  1. /*------------------------------------------------------------*/
  2. /* PROGRAM NAME : LOGONPRF.CMD                                */
  3. /* VERSION      : 1.00                                        */
  4. /* AUTHOR       : D.Kelsey                                    */
  5. /* CMD FORMAT   : LOGONPRF drive                              */
  6. /* CALLED FROM  : PROFILE.CMD                                 */
  7. /* PURPOSE      : to do any logon actions required and call   */
  8. /*              : any programs in the current working dir     */
  9. /*              : which is the directory this prg is in       */
  10. /* PRE-REQS     :                                             */
  11. /* INPUT        : none                                        */
  12. /* OUTPUT       : none                                        */
  13. /*                                                            */
  14. /*                                                            */
  15. /*                   Maintenance log                          */
  16. /*   date      time                           action          */
  17. /*   ----      ----                           ------          */
  18. /* 11/09/92    16:40                       initial coding     */
  19. /*------------------------------------------------------------*/
  20.  
  21. '@ECHO OFF'
  22.  
  23. arg resource_drive    /* get the drive used currently for prg */
  24.  
  25. say 'Currently Running the standard Logon profile, please be patient'
  26. say 'This window will eventually vanish......'
  27.  
  28. /* call LOCAL1            call a local routine first          */
  29.  
  30. call CHKUSED          /*  call the space check message system */
  31.  
  32. /*------------------------------------------------------------*/
  33. /* This is the standard exit routine. NO CODE must come after */
  34. /* This comment.                                              */
  35. /*------------------------------------------------------------*/
  36.  
  37. 'C:'
  38. 'NET USE' resource_drive': /d > NUL'
  39. 'EXIT'                /* close the window                     */
  40. exit 0
  41.