home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / WINAPP.ZIP / WINAPP2.CMD < prev   
OS/2 REXX Batch file  |  1992-12-08  |  240b  |  12 lines

  1. rem %1 is the local device name attached to the remote resource
  2. rem e.g. V: --> WINALIAS 
  3.  
  4. c:
  5. cd \os2\system
  6.  
  7. :loop
  8. sleeper 15
  9. net use %1 /d 
  10. if exist %1\ goto loop
  11.  
  12. exit