home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- rem ╔═════════════════════════════════════════════════╗
- rem ║ ║
- rem ║ ARRANGE.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: Arranges all the iconic windows on ║
- rem ║ the desktop. ║
- rem ║ ║
- rem ║ ║
- rem ║ Written by Lucien Cinc (1993) ║
- rem ║ ║
- rem ╚═════════════════════════════════════════════════╝
-
- func user getdesktopwindow
- func user arrangeiconicwindows %funca%
- if %funca%==0 goto error
- goto end
-
- :error
- color red black
- echo Unable to arrange icons
- echo.
-
- :end
-
-