home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- rem ╔═════════════════════════════════════════════════╗
- rem ║ ║
- rem ║ TILE.BAT ║
- rem ║ ║
- rem ║ Example batch program that illustrates the ║
- rem ║ use of the external command FUNC. This program ║
- rem ║ must be run from the WinOne prompt. ║
- rem ║ ║
- rem ║ Description: Tile all the windows on the ║
- rem ║ desktop. ║
- rem ║ ║
- rem ║ ║
- rem ║ Written by Lucien Cinc (1993) ║
- rem ║ ║
- rem ╚═════════════════════════════════════════════════╝
-
- func user getdesktopwindow
- func user tilechildwindows %funca% 1
- if errorlevel 1 goto error
- goto end
-
- :error
- color red black
- echo Unable to tile windows
- echo.
-
- :end
-
-