home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 13 Bitmap / 13-Bitmap.zip / pghbmp01.zip / insback.cmd < prev    next >
OS/2 REXX Batch file  |  1998-01-18  |  3KB  |  88 lines

  1. /* Bitmap Installation Program */
  2.  
  3. /*  Version:  1.00                */
  4. /*   Author:  Patrick G Horneker  */
  5. /*   System:  OS/2 Version 3.0    */
  6.  
  7.  
  8. /*  Display the title of this program */
  9.  
  10. SAY "PH-Background Install -- Version 1.0"
  11. SAY
  12. SAY "Written 1998-01-18 by Patrick G Horneker"
  13. SAY "for installation of background bitmaps to"
  14. SAY "your OS/2 based system."
  15. SAY
  16.  
  17.  
  18. /*  then list all bitmaps to be installed  */
  19.  
  20. SAY Now listing bitmaps...
  21. SAY
  22. "dir *.bmp"
  23. SAY
  24. SAY --------------------------------------------
  25. SAY
  26.  
  27.  
  28. /*  Ask the user which drive OS/2 was installed  */
  29.  
  30. SAY "Which drive did you install OS/2?"
  31. PULL drive
  32. SAY
  33. SAY "Would you like these bitmaps installed in the OS/2 bitmap directory?"
  34. PULL insos2
  35.  
  36.  
  37. /*  If the response is affirmative, install the bitmaps into the  */
  38. /*  OS/2 Bitmap directory.  */
  39. SAY
  40. IF ((Substr(insos2,1,1) = 'Y') OR (Substr(insos2,1,1) = 'y')) THEN
  41.   DO
  42.     "copy *.bmp "drive":\OS2\BITMAP >NUL"
  43.     SAY Bitmaps copied to the OS/2 bitmap directory.
  44.   END
  45.  
  46.  
  47. /*  Now ask if the user wants these same bitmaps installed in the  */
  48. /*  Windows directory  */
  49.  
  50.  
  51. SAY
  52. SAY "Now, would you like these same bitmaps installed in the Windows directory?"
  53. PULL inswin
  54.  
  55.  
  56. /*  If the response is affirmative, install the bitmaps into the  */
  57. /*  Windows directory.  */
  58. SAY
  59. IF ((Substr(inswin,1,1) = 'Y') OR (Substr(inswin,1,1) = 'y')) THEN
  60.   DO
  61.     "copy *.bmp "drive":\WINDOWS >NUL"
  62.     SAY Bitmaps copied to the Windows directory.
  63.   END
  64.  
  65.  
  66. /*  That's it.  The files have just been installed.  */
  67. SAY "These bitmaps have just been installed.  To use them as OS/2 backgrounds,"
  68. SAY
  69. SAY "Simply open the Settings Notebook of the Desktop, click on the"
  70. SAY "Backgrounds tab, and select your new wallpaper from the list in"
  71. SAY "the Backgrounds page.  You may need to select the Scale radio "
  72. SAY "button to be sure the background fits on your screen."
  73. SAY
  74. SAY
  75. SAY "To use the new bitmaps as Full Screen Win-OS/2 backgrounds,"
  76. SAY
  77. SAY "Open the Win-OS/2 Control Panel and then open Desktop from the"
  78. SAY "Control Panel.  Then select any of your new wallpaper images"
  79. SAY "from the Wallpaper listing.  Close the Desktop dialog box to use"
  80. SAY "the new wallpaper."
  81. SAY
  82. SAY "This program is available on an as-is basis.  This means I cannot"
  83. SAY "offer any kind of warranty on this installation program.  If you find"
  84. SAY "any bugs in this file, please let me know.  This also means I will not"
  85. SAY "be responsible for any damage to your PC caused by the use of this"
  86. SAY "program."
  87. SAY
  88.