home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / W_ONE35.ZIP / TILE.BAT < prev    next >
DOS Batch File  |  1993-07-16  |  1KB  |  31 lines

  1. @echo off
  2.  
  3. rem ╔═════════════════════════════════════════════════╗
  4. rem ║                                                 ║
  5. rem ║                   TILE.BAT                      ║
  6. rem ║                                                 ║
  7. rem ║ Example  batch  program  that  illustrates  the ║
  8. rem ║ use of the external command FUNC.  This program ║
  9. rem ║ must be run from the WinOne prompt.             ║
  10. rem ║                                                 ║
  11. rem ║ Description: Tile  all  the   windows   on  the ║
  12. rem ║              desktop.                           ║
  13. rem ║                                                 ║
  14. rem ║                                                 ║
  15. rem ║   Written by Lucien Cinc (1993)                 ║
  16. rem ║                                                 ║
  17. rem ╚═════════════════════════════════════════════════╝
  18.  
  19. func user getdesktopwindow
  20. func user tilechildwindows %funca% 1
  21. if errorlevel 1 goto error
  22. goto end
  23.  
  24. :error
  25. color red black
  26. echo Unable to tile windows
  27. echo.
  28.  
  29. :end
  30.  
  31.