home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 13 Bitmap
/
13-Bitmap.zip
/
pghbmp01.zip
/
insback.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-01-18
|
3KB
|
88 lines
/* Bitmap Installation Program */
/* Version: 1.00 */
/* Author: Patrick G Horneker */
/* System: OS/2 Version 3.0 */
/* Display the title of this program */
SAY "PH-Background Install -- Version 1.0"
SAY
SAY "Written 1998-01-18 by Patrick G Horneker"
SAY "for installation of background bitmaps to"
SAY "your OS/2 based system."
SAY
/* then list all bitmaps to be installed */
SAY Now listing bitmaps...
SAY
"dir *.bmp"
SAY
SAY --------------------------------------------
SAY
/* Ask the user which drive OS/2 was installed */
SAY "Which drive did you install OS/2?"
PULL drive
SAY
SAY "Would you like these bitmaps installed in the OS/2 bitmap directory?"
PULL insos2
/* If the response is affirmative, install the bitmaps into the */
/* OS/2 Bitmap directory. */
SAY
IF ((Substr(insos2,1,1) = 'Y') OR (Substr(insos2,1,1) = 'y')) THEN
DO
"copy *.bmp "drive":\OS2\BITMAP >NUL"
SAY Bitmaps copied to the OS/2 bitmap directory.
END
/* Now ask if the user wants these same bitmaps installed in the */
/* Windows directory */
SAY
SAY "Now, would you like these same bitmaps installed in the Windows directory?"
PULL inswin
/* If the response is affirmative, install the bitmaps into the */
/* Windows directory. */
SAY
IF ((Substr(inswin,1,1) = 'Y') OR (Substr(inswin,1,1) = 'y')) THEN
DO
"copy *.bmp "drive":\WINDOWS >NUL"
SAY Bitmaps copied to the Windows directory.
END
/* That's it. The files have just been installed. */
SAY "These bitmaps have just been installed. To use them as OS/2 backgrounds,"
SAY
SAY "Simply open the Settings Notebook of the Desktop, click on the"
SAY "Backgrounds tab, and select your new wallpaper from the list in"
SAY "the Backgrounds page. You may need to select the Scale radio "
SAY "button to be sure the background fits on your screen."
SAY
SAY
SAY "To use the new bitmaps as Full Screen Win-OS/2 backgrounds,"
SAY
SAY "Open the Win-OS/2 Control Panel and then open Desktop from the"
SAY "Control Panel. Then select any of your new wallpaper images"
SAY "from the Wallpaper listing. Close the Desktop dialog box to use"
SAY "the new wallpaper."
SAY
SAY "This program is available on an as-is basis. This means I cannot"
SAY "offer any kind of warranty on this installation program. If you find"
SAY "any bugs in this file, please let me know. This also means I will not"
SAY "be responsible for any damage to your PC caused by the use of this"
SAY "program."
SAY