home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / warpst04.zip / tricks.INF (.txt) < prev    next >
OS/2 Help File  |  1995-09-24  |  400KB  |  4,395 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. Stupid OS/2 Tricks 
  5.  
  6. compiled by M. Woo, Champaign-Urbana OS/2 Users Group, release #6, Sept 1995 
  7.  
  8.  
  9. (Double click on a bitmap to start) 
  10.  
  11. Information about this document: 
  12.  
  13. Γûá Types of "tricks" included 
  14. Γûá How to use the included REXX scripts 
  15. Γûá How to submit tips and tricks 
  16. Γûá Revisions 
  17. Γûá Revision schedule 
  18. Γûá How this document was created 
  19. Γûá Disclaimer 
  20.  
  21. Copyright 1993-95 M. Woo. 
  22. All Rights Reserved.  This work, or parts thereof, may not be reproduced or 
  23. redistributed in any form without permission, with the exception that "Stupid 
  24. OS/2 Tricks" can be freely distributed in electronic form for non-commercial 
  25. use, as long as it remains unaltered. 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 1.1. Types of "tricks" included ΓòÉΓòÉΓòÉ
  29.  
  30. This file contains various tips and tricks for OS/2 which have been gathered 
  31. over time from various sources. Creation of this text was inspired by the 
  32. "Clever Tricks" section of Tim Sipples' excellent Frequently Asked Questions 
  33. list, a must read for all OS/2 owners. 
  34.  
  35. The type of tips and tricks included in this text are those which cover 
  36. features of OS/2 that people often ask about, short REXX scripts which do 
  37. interesting things, as well as other items which hopefully don't overlap 
  38. information already contained in Tim Sipples' FAQ (well, not by TOO much, 
  39. anyway). 
  40.  
  41. The tricks contained in this text do not make references to any specific 
  42. product names, other than those components included in OS/2 itself.  However, 
  43. it may occasionally have been necessary to mention generic classes of utilities 
  44. which are not included as part of OS/2. 
  45.  
  46. A Japanese language version of Stupid OS/2 Tricks should now be available. 
  47. Contact A. Kikuchi at kiku@ymtl01.yamato.ibm.co.jp for details. 
  48.  
  49. Related subject(s): 
  50.  
  51. Γûá How to submit tips and tricks 
  52.  
  53.  
  54. ΓòÉΓòÉΓòÉ 1.2. How to use the included REXX scripts ΓòÉΓòÉΓòÉ
  55.  
  56. as per a suggestion from Dawn Perchik 
  57.  
  58. In order to use the included REXX scripts, you must have REXX installed on your 
  59. OS/2 system.  If you did not install REXX during your OS/2 installation, it can 
  60. be installed using the Selective Install object in your System Setup folder. 
  61.  
  62. Each REXX script is linked to the first instance of its name via a hypertext 
  63. link.  If you double-click with mouse button 1 on the hypertext link, a window 
  64. will pop up containing the REXX script. 
  65.  
  66. To write the REXX script to disk, make sure the window containing the REXX 
  67. script is the active window.  Pull the Services menu down from the menu bar, 
  68. then choose Copy to File.  This will create a file called TEXT.TMP on your 
  69. disk. 
  70.  
  71. Open TEXT.TMP into a text editor (such as the System Editor) for editing. In 
  72. order for OS/2 to recognize the script as a REXX script, rather than a regular 
  73. OS/2 batch file, the symbols "/*" (without quotes) must reside on the topmost 
  74. line, in the positions to the farthest left.  In order to accomplish this, you 
  75. will have to delete the blank lines at the top of the file, and delete any 
  76. spaces that occur before the first "/*" symbols. 
  77.  
  78. When you are finished editing TEXT.TMP, save it as a filename which ends with 
  79. the extension .CMD (such as SETPTR.CMD), so that OS/2 can recognize the file as 
  80. a REXX script. 
  81.  
  82. Voila!  You should now have a working REXX script that can be run simply by 
  83. typing its name at an OS/2 command line. 
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 1.3. How to submit tips and tricks ΓòÉΓòÉΓòÉ
  87.  
  88. If you know of any neat OS/2 tips or tricks that you're dying to share, please 
  89. send them along.  They would be greatly appreciated! 
  90.  
  91. If your tip or trick is used, your name will be listed along with it for all to 
  92. see! 
  93.  
  94. Neat OS/2 tricks can be sent to: 
  95.  
  96. Internet, m-woo@uiuc.edu 
  97. Fidonet, Sysop @ 1:233/4.0 
  98.  
  99. Please also send any corrections to either of the addresses above. 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 1.4. Revisions ΓòÉΓòÉΓòÉ
  103.  
  104. INF revision marks 
  105.  
  106. Revisions/additions to this INF file will be displayed in the following text 
  107. color (this is a revision). 
  108.  
  109. Related subject(s): 
  110.  
  111. Γûá Revision schedule 
  112.  
  113.  
  114. ΓòÉΓòÉΓòÉ 1.5. Revision schedule ΓòÉΓòÉΓòÉ
  115.  
  116. This text will be updated when the number of new tips and tricks gathered 
  117. warrants a new version. 
  118.  
  119. Revision History: 
  120.  
  121. Γûá Release #1 - Nov 1993; initial release 
  122. Γûá Release #2 - Dec 1993 
  123. Γûá Release #3 - Jan 1994 
  124. Γûá Release #4 - Apr 1994 
  125. Γûá Release #5 - Nov 1994 
  126. Γûá Release #6 - Sept 1995 
  127.  
  128. Related subject(s): 
  129.  
  130. Γûá Revision marking 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 1.5.1. Release #2 ΓòÉΓòÉΓòÉ
  134.  
  135. Release #2 - Dec 1993 
  136.  
  137.      Changed: 
  138.  
  139.      Using Elvis v1.8c beta instead of v1.6 
  140.      Corrected info in "Getting more out of your command line" 
  141.      Corrected typos in SETMOUSE.CMD (this is important!!!) 
  142.      Added note to "Adding an 'open folder' entry to the desktop's popup menu" 
  143.      Improved BITMAP.CMD 
  144.  
  145.      Added: 
  146.  
  147.      Getting Epson ActionLaser 1500 to work 
  148.      Using keyboard shortcuts in PM 
  149.      Navigating in notebooks without a mouse 
  150.      Shutting down from a REXX script automatically 
  151.      Curing "jumpy mouse" 
  152.      Retrieving a "changed" icon 
  153.      Pasting between Windows applications 
  154.      Associating data files with programs 
  155.      Getting memory back from unused caches 
  156.      Changing the default view of a folder 
  157.      Dealing with OS/2 !! SYS messages on boot 
  158.      Using multiple arguments at the OS/2 command line 
  159.      Using EPM as a customized command shell 
  160.      Setting the startup directory for command line objects 
  161.      Restoring last desktop backup 
  162.      Creating new printer objects 
  163.      Viewing *.inf files more conveniently 
  164.      Formatting a diskette with the detach command 
  165.      Creating your own templates 
  166.      Using less memory for DOS images 
  167.      Replacing your Shredder if deleted 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 1.5.2. Release #3 ΓòÉΓòÉΓòÉ
  171.  
  172. Release #3 - Jan 1994 
  173.  
  174.      Changed: 
  175.  
  176.      Added comment to "Prevent restarting automatically" 
  177.      Added note to "Speeding up some IDE drives" 
  178.      Corrected code and added comment to SETFONT.CMD. 
  179.      Replaced SETMOUSE.CMD with an improved version, SETPTR.CMD 
  180.  
  181.      Added: 
  182.  
  183.      Starting seamless Windows from the command line 
  184.      Resizing a command line window permanently 
  185.      Making the system "sleep" 
  186.      Substituting REPLACE for the COPY command 
  187.      Deleting "undeletable" objects 
  188.      Speeding up opening folders 
  189.      Managing your icons 
  190.      Enlarging the mouse cursor 
  191.      Manipulating objects through the Window List 
  192.      Booting OS/2 in full-screen mode 
  193.      Completing shutdown 
  194.      "Touching" a file's date and time 
  195.      Adjusting your swap file 
  196.      Adding command sessions to the desktop's popup menu 
  197.      Using SVGA.EXE under real DOS 
  198.      Selecting listbox entries without a mouse 
  199.      Making "no-shows" re-appear 
  200.      Opening multiple command line sessions from the desktop menu 
  201.      Creating a command line calculator 
  202.      Loading a DOS device driver into high memory 
  203.      Starting a DOS session with maximum free memory 
  204.      Fixing "locked" INI files 
  205.      Using START to avoid the dreaded "clock" 
  206.      Coloring OS/2 command line sessions 
  207.  
  208.  
  209. ΓòÉΓòÉΓòÉ 1.5.3. Release #4 ΓòÉΓòÉΓòÉ
  210.  
  211. Release #4 - Apr 1994 
  212.  
  213.      Changed: 
  214.  
  215.      Added code to BIGDOS.CMD to make DOS session open in foreground. 
  216.      Removed ICONRES.CMD because it was copyrighted. 
  217.      Added 2.11 note to "Maximizing windows when opening" 
  218.      Added 2.11 note to "Retrieving a 'changed' icon" 
  219.      Added note to "Rebooting from the command line" 
  220.      Added 2.11 note to "Backing up the *.ini files" 
  221.      Added info to "Curing 'jumpy mouse'" 
  222.  
  223.      Added: 
  224.  
  225.      Opening the parent folder 
  226.      Playing audio CDs via REXX 
  227.      Copying fullscreen text to the Clipboard 
  228.      Displaying custom DOS settings at the command line 
  229.      Using Windows File Manager on your OS/2 desktop 
  230.      Fixing seamless Windows on some 2.11 CSD systems 
  231.      Jumping between windowed sessions 
  232.      Playing media files from the command line 
  233.      Editing object names on the desktop 
  234.      How to use the included REXX scripts 
  235.      Determining if you have a buffered UART in your computer 
  236.      Moving a template object without creating a copy 
  237.      Changing the long name (icon text) of a file or folder without changing 
  238.      the real name 
  239.      Starting an OS/2 command line from a folder's directory 
  240.      Adding INF files to the desktop popup menu 
  241.  
  242.  
  243. ΓòÉΓòÉΓòÉ 1.5.4. Release #5 ΓòÉΓòÉΓòÉ
  244.  
  245. Release #5 - Nov 1994 
  246.  
  247.      Changed: 
  248.  
  249.      Unfortunately, it became necessary to expand on the copyright statement 
  250.      Added a separate section for OS/2 Warp-specific tips 
  251.      Added warning to "Changing the standard mouse pointer" 
  252.      New version of BITMAP.CMD 
  253.      Added note to indicate that author's address is now more or less permanent 
  254.      Now using the IPF compiler from the IBM OS/2 Developer's Toolkit v2.1 
  255.  
  256.      Added: 
  257.  
  258.      Opening windowed command line in the background 
  259.      Recreating a "lost" template 
  260.      Viewing the Nowhere subdirectory 
  261.      Using PMREXX as a scrolling command window 
  262.      Backing up INI files in the background 
  263.      Tearing off Launchpad drawer 
  264.      Opening the Settings notebook 
  265.      Changing printing from polling to interrupt-driven 
  266.      Closing the parent folder when opening an object 
  267.      Recovering a deleted Launchpad 
  268.      Keeping the system running, even through traps 
  269.      Obtaining information about your hardware 
  270.      Editing animated folder icons 
  271.      Bringing the Launchpad to the top 
  272.      Setting the swap file 
  273.      Setting video modes 
  274.      Speeding up opening folders II 
  275.      Closing parent folders automatically 
  276.      Setting default folder appearance 
  277.      Creating OS/2 Warp boot diskettes 
  278.      Caching your cdrom drive 
  279.      Resetting Boot Manager to have no default partition 
  280.      Switching temporarily to a different directory 
  281.      Associating icon with executable 
  282.      Booting DOS from a C: partition within OS/2 
  283.      Resetting the boot record 
  284.      Canceling print jobs from the command line 
  285.      Adding more LPT ports in Win-OS/2 
  286.      Customizing the Launchpad 
  287.  
  288.  
  289. ΓòÉΓòÉΓòÉ 1.5.5. Release #6 ΓòÉΓòÉΓòÉ
  290.  
  291. Release #6 - Sept 1995 
  292.  
  293.      Changed: 
  294.  
  295.      Corrected manipulating objects through the Window List 
  296.      Added additional material to "Adding a trash can" 
  297.  
  298.      Added: 
  299.  
  300.      Displaying the Recovery Screen 
  301.      Displaying Device Drivers on Boot 
  302.      Dual Booting Without Confirmation 
  303.      Adding Temporary LIBPATH Entries 
  304.      Showing the Buildlevel of EXE and DLL Files 
  305.      Using the Pickup Functions 
  306.      Bringing the Launchpad to the Top Using the Keyboard 
  307.      Opening Parent Folder While Closing Child Folder 
  308.      Putting Template Buttons on the Launchpad 
  309.      Preventing Save of Desktop Settings Between Shutdowns 
  310.      Viewing HLP Files Without Opening the Application 
  311.      Command Line Options for the WebExplorer 
  312.      Pulling Down Menus in WebExplorer Presentation Mode 
  313.      Using Different INI Files with the WebExplorer 
  314.      Adding Fastkeys to the WebExplorer Quick List 
  315.      Setting the Size of the WebExplorer 
  316.      Shortening Pulldown Menus 
  317.      Removing the Drive B Icon from the Drives Object 
  318.      Creating a Program Object from Executables 
  319.      Resetting Drive Open Behavior 
  320.      Scrolling in the Background 
  321.  
  322.  
  323. ΓòÉΓòÉΓòÉ 1.6. How this document was created ΓòÉΓòÉΓòÉ
  324.  
  325. This document was written using the OS/2 port of Elvis v1.8c beta. Screen 
  326. captures were done using PMCamera/2 v2.10, an IBM EWS package.  The resulting 
  327. tagged document was compiled using the IPF compiler from the IBM OS/2 
  328. Developer's Toolkit v2.1. 
  329.  
  330.  
  331. ΓòÉΓòÉΓòÉ 1.7. Disclaimer ΓòÉΓòÉΓòÉ
  332.  
  333. I don't claim to be an expert on OS/2, so I can't guarantee that all the tips 
  334. and tricks presented in this document will work with all configurations of 
  335. OS/2.  Thus, the following disclaimer: 
  336.  
  337. The reader/user assumes all responsibility, liability and risk for any damages, 
  338. incidental or consequential, resulting from the use of the information provided 
  339. in this document.  No warranty is expressed or implied, and this document is 
  340. only guaranteed to use space on your disk. 
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 2. System ΓòÉΓòÉΓòÉ
  344.  
  345. This section covers tips and tricks which affect the system in general. 
  346.  
  347. Topics in this section: 
  348.  
  349.      Γûá Keeping applications from restarting at boot 
  350.      Γûá Shutting down without a mouse 
  351.      Γûá Rebooting from the command line 
  352.      Γûá Finding settings for original objects 
  353.      Γûá Controlling order of execution in Startup folder 
  354.      Γûá Backing up the *.ini files 
  355.      Γûá Removing device drivers for better performance 
  356.      Γûá Speeding up some IDE drives 
  357.      Γûá Disabling use of the floppy drives 
  358.      Γûá Getting Epson ActionLaser 1500 to work 
  359.      Γûá Getting memory back from unused caches 
  360.      Γûá Dealing with OS/2 !! SYS messages on boot 
  361.      Γûá Restoring last desktop backup 
  362.      Γûá Viewing *.inf files more conveniently 
  363.      Γûá Using less memory for DOS images 
  364.      Γûá Booting OS/2 in full-screen mode 
  365.      Γûá Completing shutdown 
  366.      Γûá Adjusting your swap file 
  367.      Γûá Using SVGA.EXE under real DOS 
  368.      Γûá Loading a DOS device driver into high memory 
  369.      Γûá Fixing "locked" INI files 
  370.      Γûá Playing audio CDs via REXX 
  371.      Γûá Playing media files from the command line 
  372.      Γûá Determining if you have a buffered UART in your computer 
  373.      Γûá Pooling multiple printers 
  374.      Γûá Viewing the Nowhere subdirectory 
  375.      Γûá Backing up INI files in the background 
  376.      Γûá Caching your cdrom drive 
  377.      Γûá Resetting Boot Manager to have no default partition 
  378.      Γûá Booting DOS from a C: partition within OS/2 
  379.      Γûá Resetting the boot record 
  380.  
  381.  
  382. ΓòÉΓòÉΓòÉ 2.1. Keeping applications from restarting at boot ΓòÉΓòÉΓòÉ
  383.  
  384. When OS/2 is started, it automatically opens applications which were open 
  385. during the last OS/2 session.  To keep applications from restarting on boot, 
  386. you can use either the manual or automatic method. 
  387.  
  388. Related subject(s): 
  389.  
  390.      Γûá Prevent restarting manually 
  391.      Γûá Prevent restarting automatically 
  392.      Γûá Rebooting from the command line 
  393.  
  394.  
  395. ΓòÉΓòÉΓòÉ 2.1.1. Prevent restarting manually ΓòÉΓòÉΓòÉ
  396.  
  397. To prevent applications from restarting during boot, hold down the Ctrl, left 
  398. Shift, and F1 keys at the same time, beginning when the mouse pointer appears 
  399. until the icons begin appearing on the desktop. If you find that disk activity 
  400. stops, you may have to release the keys and then quickly hold them down again. 
  401.  
  402. Related subject(s): 
  403.  
  404.      Γûá Prevent restarting automatically 
  405.  
  406.  
  407. ΓòÉΓòÉΓòÉ 2.1.2. Prevent restarting automatically ΓòÉΓòÉΓòÉ
  408.  
  409. Placing the line 
  410.  
  411. SET RESTARTOBJECTS=STARTUPFOLDERSONLY,REBOOTONLY 
  412.  
  413. into your CONFIG.SYS file will prevent any applications which had been open in 
  414. the last session from opening, but will allow programs in the Startup folder to 
  415. open. 
  416.  
  417. (this line may be order-dependent on some systems) 
  418.  
  419. Related subject(s): 
  420.  
  421.      Γûá Prevent restarting manually 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 2.2. Shutting down without a mouse ΓòÉΓòÉΓòÉ
  425.  
  426. To shut OS/2 down without a mouse, press Ctrl-Esc to bring up the Window List, 
  427. choose the Desktop, press the Spacebar to deselect any icons, press Shift-F10 
  428. to pop up the Desktop's menu, choose Shutdown. 
  429.  
  430.  
  431. ΓòÉΓòÉΓòÉ 2.3. Rebooting from the command line ΓòÉΓòÉΓòÉ
  432.  
  433. To reboot OS/2 down from the command line, type 
  434.  
  435. SETBOOT /B 
  436.  
  437. Note: the above only works with Boot Manager installed. 
  438.  
  439. or 
  440.  
  441. SETBOOT /IBD:<drive> 
  442.  
  443. where <drive> is the letter of the drive or partition to which you wish to boot 
  444.  
  445. Related subject(s): 
  446.  
  447.      Γûá Keeping applications from restarting at boot 
  448.      Γûá SHUTDOWN.CMD 
  449.  
  450.  
  451. ΓòÉΓòÉΓòÉ 2.4. Finding settings for original objects ΓòÉΓòÉΓòÉ
  452.  
  453. The settings for all of the objects which were created upon installation of 
  454. your OS/2 system are contained in the INI.RC file, located in the \OS2 
  455. subdirectory.  Those handy with REXX and the external REXXutils can use the 
  456. information contained in the INI.RC file to rebuild the original OS/2 objects. 
  457.  
  458. Related subject(s): 
  459.  
  460.      Γûá Replacing your Shredder if deleted 
  461.  
  462.  
  463. ΓòÉΓòÉΓòÉ 2.5. Controlling order of execution in Startup folder ΓòÉΓòÉΓòÉ
  464.  
  465.  
  466. ΓòÉΓòÉΓòÉ <hidden> Startup execution window 1 ΓòÉΓòÉΓòÉ
  467.  
  468. You can control the order in which objects in your Startup folder execute. 
  469.  
  470.       1. Open the Startup folder in either Flowed or Non-flowed view. 
  471.       2. Drag objects or their shadows into the Startup Folder in the order you 
  472.          want them to execute. 
  473.  
  474.  
  475. ΓòÉΓòÉΓòÉ <hidden> Startup folder ΓòÉΓòÉΓòÉ
  476.  
  477. Startup folder in Flowed view with item being dragged into it. 
  478.  
  479.  
  480. ΓòÉΓòÉΓòÉ 2.6. Backing up the *.ini files ΓòÉΓòÉΓòÉ
  481.  
  482. Much of your system's customization is stored in two files, OS2.INI and 
  483. OS2SYS.INI.  To back up these important files, add the following line to the 
  484. beginning of your CONFIG.SYS: 
  485.  
  486. CALL=<drive1>:\OS2\XCOPY.EXE <drive2>:\OS2\OS*.INI <drive3>:\<path> 
  487.  
  488. where 
  489.  
  490.   <drive1> is the letter of the drive in which XCOPY.EXE is found 
  491.  
  492.   <drive2> is the letter of the drive in which the *.ini files are found 
  493.  
  494.   <drive3> is the letter of the drive in which you would like to locate the 
  495. backups of the *.ini files 
  496.  
  497.   <path> is the path in which you would like to locate the backups of the *.ini 
  498. files 
  499.  
  500. Note: The 2.11 CSD adds the System attribute to OS2.INI and OS2SYS.INI.  In 
  501. order for this tip to work, you should use XCOPY's /T switch at the end of the 
  502. CALL command above. 
  503.  
  504. Related subject(s): 
  505.  
  506.      Γûá Restoring last desktop backup 
  507.      Γûá Backing up INI files in the background 
  508.  
  509.  
  510. ΓòÉΓòÉΓòÉ 2.7. Removing device drivers for better performance ΓòÉΓòÉΓòÉ
  511.  
  512. contributed by Jack Tan 
  513.  
  514. If you aren't using the DOS subsystem, you can improve performance by removing 
  515. DOS-specific device drivers from loading in your CONFIG.SYS (they generally 
  516. begin with the letter V).  The same applies to Win-OS/2, HPFS, CD-ROM drivers 
  517. as well. 
  518.  
  519. Related subject(s): 
  520.  
  521.      Γûá Getting memory back from unused caches 
  522.  
  523.  
  524. ΓòÉΓòÉΓòÉ 2.8. Speeding up some IDE drives ΓòÉΓòÉΓòÉ
  525.  
  526. contributed by Jack Tan 
  527.  
  528. Try adding switches to the BASEDEV=IBM1S506.ADD line: 
  529.  
  530. BASEDEV=IBM1S506.ADD /A:0 /U:0 /SMS 
  531.  
  532. and use /V to see if the /SMS works (/V = verbose).  This is supposed to speed 
  533. up IDE drives that support this feature; otherwise, it will be ignored. 
  534.  
  535. (note: the switches above affect the first drive on the first adapter in the 
  536. system -- for more information on the switches, search for "basedev" in your 
  537. online OS/2 Command Reference) 
  538.  
  539.  
  540. ΓòÉΓòÉΓòÉ 2.9. Disabling use of the floppy drives ΓòÉΓòÉΓòÉ
  541.  
  542. by Darius Vaskelis 
  543.  
  544. To prevent users from using the floppy drives under OS/2, such as in a 
  545. workstation situation: 
  546.  
  547. Remove the following line from your CONFIG.SYS: 
  548.  
  549. BASEDEV=IBMxFLPY.ADD 
  550.  
  551. Where x is 1 for ISA and EISA, or 2 for Microchannel. 
  552.  
  553.  
  554. ΓòÉΓòÉΓòÉ 2.10. Getting Epson ActionLaser 1500 to work ΓòÉΓòÉΓòÉ
  555.  
  556. To get an Epson ActionLaser to work with OS/2 2.1: 
  557.  
  558.       1. First, follow the standard steps for non-working printers under OS/2: 
  559.  
  560.          a) Make sure you have a compliant cable. A parallel cable should have 
  561.             all 25 pins wired, unfortunately, a lot of cables currently 
  562.             manufactured only have 18 pins wired. 
  563.          b) Check your interrupts.  ISA and EISA bus machines cannot share 
  564.             interrupts under OS/2.  Often, a sound card will be set to the same 
  565.             interrupt as LPT1 (IRQ7), and must be changed. 
  566.          c) Get a compatible I/O card.  Some parallel port cards don't seem to 
  567.             work correctly under OS/2. 
  568.  
  569.       2. Finally, for the Epson ActionLaser, change the "Busy Delay" to +5 
  570.          (covered in p.4-15 of the Epson's manual). 
  571.  
  572.  
  573. ΓòÉΓòÉΓòÉ 2.11. Getting memory back from unused caches ΓòÉΓòÉΓòÉ
  574.  
  575. from the OS/2 2.1 Technical Reference 
  576.  
  577. You can increase available resources by disabling unused caches.  If you are 
  578. running an HPFS-only system, remove (or REM) the DISKCACHE line in your 
  579. CONFIG.SYS file.  Similarly, if you are running a FAT-only system, remove (or 
  580. REM) the IFS=<drive>:\OS2\HPFS.IFS line in your CONFIG.SYS. 
  581.  
  582. Related subject(s): 
  583.  
  584.      Γûá Removing device drivers for better performance 
  585.  
  586.  
  587. ΓòÉΓòÉΓòÉ 2.12. Dealing with OS/2 !! SYS messages on boot ΓòÉΓòÉΓòÉ
  588.  
  589. contributed by Jack Tan 
  590.  
  591. The error message: 
  592.  
  593. OS/2 !! SYS01475 
  594. OS/2 !! SYS02027 
  595.  
  596. means that the system files can't be found.  Try removing any diskettes from 
  597. the disk drives.  If this message appears when trying to boot from a hard disk, 
  598. use SYSINSTX to restore the OS/2 system files. 
  599.  
  600.  
  601. ΓòÉΓòÉΓòÉ 2.13. Restoring last desktop backup ΓòÉΓòÉΓòÉ
  602.  
  603. contributed by Jack Tan 
  604.  
  605. To make the Alt-F1 trick restore your last desktop backup instead of the (ugly) 
  606. default, replace the CONFIG.SYS, OS2.INI, and OS2SYS.INI in \OS2\INSTALL with 
  607. the files from your last backup.  Make sure to save the original files in 
  608. \OS2\INSTALL before replacing them. 
  609.  
  610. Related subject(s): 
  611.  
  612.      Γûá Backing up the *.ini files 
  613.  
  614.  
  615. ΓòÉΓòÉΓòÉ 2.14. Viewing *.inf files more conveniently ΓòÉΓòÉΓòÉ
  616.  
  617. contributed by Jack Tan 
  618.  
  619. Here are two tips to make viewing OS/2 *.inf files more convenient: 
  620.  
  621. 1. Put several INF files together using a plus sign.  On the command line (or 
  622. 'Parameters' field of the settings notebook), enter something such as: 
  623.  
  624. e.g., <drive>:\BOOKS\FILE1.INF+<drive>:\BOOKS\FILE2.INF+ 
  625. <drive>:\BOOKS\FILE3.INF. 
  626.  
  627. The pathnames aren't necessary if the file is in a directory specified by the 
  628. HELP environmental variable. 
  629.  
  630. 2. You can assign the book names to an environmental variable: 
  631.  
  632. e.g., SET FILE=<drive>:\BOOKS\FILE1.INF+<drive>:\BOOKS\FILE2.INF+ 
  633. <drive>:\BOOKS\FILE3.INF 
  634.  
  635. and execute VIEW.EXE using the variable name (e.g., VIEW FILE). 
  636.  
  637.  
  638. ΓòÉΓòÉΓòÉ 2.15. Using less memory for DOS images ΓòÉΓòÉΓòÉ
  639.  
  640. When you load a DOS image file (Virtual Machine Boot, or VMB), the entire 
  641. diskette image is loaded into memory.  Since the files on the DOS image 
  642. diskette don't take up much room themselves, much of the memory used for the 
  643. diskette is wasted.  Therefore, in order to regain memory when loading the 
  644. specific DOS session, try using double-density diskettes to make your DOS 
  645. images, instead of high-density diskettes. 
  646.  
  647. Related subject(s): 
  648.  
  649.      Γûá Booting DOS from a C: partition within OS/2 
  650.  
  651.  
  652. ΓòÉΓòÉΓòÉ 2.16. Booting OS/2 in full-screen mode ΓòÉΓòÉΓòÉ
  653.  
  654. You can boot OS/2 in full-screen mode, and still retain Presentation Manager 
  655. support for multiple sessions: 
  656.  
  657.       1. Change: 
  658.  
  659.          SET RUNWORKPLACE=<drive>:\OS2\PMSHELL.EXE 
  660.  
  661.          in your CONFIG.SYS file to: 
  662.  
  663.          SET RUNWORKPLACE=<drive>:\OS2\CMD.EXE /FS 
  664.  
  665.          where <drive> is the drive on which OS/2 resides. 
  666.  
  667.       2. Create the file STARTUP.CMD in your OS/2 boot drive's root directory. 
  668.          STARTUP.CMD should contain the following lines: 
  669.  
  670.                   @ECHO OFF
  671.                   START /FS
  672.                   EXIT
  673.  
  674.      Related subject(s): 
  675.  
  676.      Γûá Using OS/2 without the Workplace Shell 
  677.  
  678.  
  679. ΓòÉΓòÉΓòÉ 2.17. Completing shutdown ΓòÉΓòÉΓòÉ
  680.  
  681. If shutdown seems to "hang" at the first shutdown message box, this trick 
  682. sometimes works: 
  683.  
  684.       1. Press the Ctrl-Esc keys. 
  685.       2. Wait for about a minute. 
  686.       3. In many cases, a dialog box will pop up telling you that the Workplace 
  687.          Shell isn't responding to system requests, and will give you the 
  688.          choice of clicking on Enter to end the application, or Cancel. 
  689.       4. Click on the Enter box.  The shutdown usually proceeds normally. 
  690.  
  691.  
  692. ΓòÉΓòÉΓòÉ 2.18. Adjusting your swap file ΓòÉΓòÉΓòÉ
  693.  
  694. If you have disk space to spare, you can adjust the default startup size of 
  695. your swap file (SWAPPER.DAT) to improve system performance. 
  696.  
  697. The default startup size of SWAPPER.DAT is set in your CONFIG.SYS file with the 
  698. line: 
  699.  
  700. SWAPPATH=<drive>:<path> <minfree> <swapsize> 
  701.  
  702. where <swapsize> is the default startup size of SWAPPER.DAT. 
  703.  
  704. To adjust the startup size for better performance: 
  705.  
  706.       1. Monitor the size of the SWAPPER.DAT over the course of a normal day's 
  707.          work.  A third-party utility for monitoring swap file size makes this 
  708.          task a bit easier. 
  709.       2. Note the maximum size that SWAPPER.DAT reaches during normal usage. 
  710.       3. Change the <swapsize> parameter of SWAPPATH to reflect at least the 
  711.          maximum swap file size you noted (<swapsize> is measured in 
  712.          kilobytes). 
  713.  
  714.           CAUTION:
  715.      You MUST have enough free drive space to use this tip.  If the size of the 
  716.      <swapsize> parameter violates the amount needed for the <minfree> 
  717.      parameter, your system will not boot. 
  718.  
  719.      Related subject(s): 
  720.  
  721.      Γûá Setting the swap file 
  722.  
  723.  
  724. ΓòÉΓòÉΓòÉ 2.19. Using SVGA.EXE under real DOS ΓòÉΓòÉΓòÉ
  725.  
  726. contributed by Jack Tan 
  727.  
  728. Running SVGA.EXE in a VDM usually results in a file called SVGADATA.PMI, which 
  729. contains information which lets OS/2 access SVGA graphics modes. 
  730.  
  731. Sometimes, SVGA.EXE has trouble "seeing" the video chip, and extended graphics 
  732. modes won't work correctly.  If so, try running SVGA.EXE under real DOS or a 
  733. VMB.  This will create a file named SVGADATA.DOS.  Rename SVGADATA.DOS to 
  734. SVGADATA.PMI and copy it into your \OS2 subdirectory. 
  735.  
  736.  
  737. ΓòÉΓòÉΓòÉ 2.20. Loading a DOS device driver into high memory ΓòÉΓòÉΓòÉ
  738.  
  739.  
  740. ΓòÉΓòÉΓòÉ <hidden> Load into high memory ΓòÉΓòÉΓòÉ
  741.  
  742. contributed by Xavier Caballe 
  743.  
  744. In order to load a DOS device driver into high memory in a particular DOS 
  745. Session: 
  746.  
  747.       1. Open the settings notebook for the DOS object. 
  748.       2. Choose the Session tab. 
  749.       3. Click on the DOS Settings button. 
  750.       4. Highlight the DOS_DEVICE setting 
  751.       5. Add 'SIZE=0' (without quotes) before the path and filename for the 
  752.          device driver to load in high memory. For example: 
  753.  
  754.          SIZE=0 C:\OS2\MDOS\ANSI.SYS 
  755.  
  756.          In this example, the ANSI.SYS will be loaded in the high memory area 
  757.          (if available). 
  758.  
  759.  
  760. ΓòÉΓòÉΓòÉ <hidden> Loading device drivers high ΓòÉΓòÉΓòÉ
  761.  
  762. DOS Settings for loading a device driver high. 
  763.  
  764.  
  765. ΓòÉΓòÉΓòÉ 2.21. Fixing "locked" INI files ΓòÉΓòÉΓòÉ
  766.  
  767. contributed by Jack Tan 
  768.  
  769. If your INI files (OS2.INI and OS2SYS.INI) stop saving system changes, they may 
  770. have been marked read-only.  To reset the read-only attribute: 
  771.  
  772.       1. Change to your \OS2 subdirectory. 
  773.       2. Type 
  774.  
  775.          attrib -r os2*.ini 
  776.  
  777.          at an OS/2 command prompt. 
  778.       3. You may have to shutdown and reboot. 
  779.  
  780.      Note: if using OS/2 2.0, you may have to boot OS/2 from your installation 
  781.      floppies in order to reset the attributes. 
  782.  
  783.  
  784. ΓòÉΓòÉΓòÉ 2.22. Playing audio CDs via REXX ΓòÉΓòÉΓòÉ
  785.  
  786. contributed by Xavier Caballe 
  787.  
  788. The combination of REXX with MMPM/2 can be quite powerful, as demonstrated by 
  789. CDPLAY.CMD, a "poor man's CD player." 
  790.  
  791. Note: requires MMPM/2 
  792.  
  793. Related subject(s): 
  794.  
  795.      Γûá Playing media files from the command line 
  796.  
  797.  
  798. ΓòÉΓòÉΓòÉ 2.23. Playing media files from the command line ΓòÉΓòÉΓòÉ
  799.  
  800. contributed by Jack Tan 
  801.  
  802. Note: MMPM/2 is required. 
  803.  
  804.      To play a media file, use PLAY.CMD (included in MMPM/2, and requires REXX) 
  805.      or MPPM.EXE. 
  806.  
  807.      To play a media file immediately (i.e., no need to hit the "Play" button 
  808.      in the Media Player window) and close the session afterwards, use MPPM.EXE 
  809.      /SC <filename> where <filename> is a WAV or AVI file. 
  810.  
  811.      To play a media file immediately, close the session afterwards, and not 
  812.      see the Media Player window, use START /MIN MPPM.EXE /SC <filename> where 
  813.      <filename> is a WAV or AVI file. 
  814.  
  815.      Related subject(s): 
  816.  
  817.      Γûá Playing audio CDs via REXX 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 2.24. Determining if you have a buffered UART in your computer ΓòÉΓòÉΓòÉ
  821.  
  822. A buffered UART (such as the 16550AF chip) is often necessary for error-free 
  823. serial communications in a multitasking environment. 
  824.  
  825. To determine if your computer has a buffered UART: 
  826.  
  827.       1. Open an OS/2 command line session. 
  828.       2. Type 
  829.  
  830.          MODE COMx 
  831.  
  832.          where x is the number of the serial port you wish to check. 
  833.       3. A list of current settings for the serial port should appear.  If the 
  834.          line 
  835.  
  836.          BUFFER=N/A 
  837.  
  838.          appears, you do not have a buffered UART.  If the BUFFER line contains 
  839.          anything other than N/A, you have a buffered UART. 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 2.25. Pooling multiple printers ΓòÉΓòÉΓòÉ
  843.  
  844.  
  845. ΓòÉΓòÉΓòÉ <hidden> Pooling printers ΓòÉΓòÉΓòÉ
  846.  
  847. Choosing multiple ports for the printer object. 
  848.  
  849.  
  850. ΓòÉΓòÉΓòÉ <hidden> Pooling printers. ΓòÉΓòÉΓòÉ
  851.  
  852. If you have more than one printer that use the same printer driver, and each is 
  853. attached to different parallel or serial ports, you can configure your printer 
  854. object so that waiting print jobs will be sent to any free port. 
  855.  
  856. "Pooling" multiple printers: 
  857.  
  858.       1. Open the Settings notebook for the printer object. 
  859.       2. Click on the Printer Driver tab. 
  860.       3. Highlight the desired printer driver. 
  861.       4. Click on the Output tab. 
  862.       5. Hold the Ctrl key while selecting all the desired ports with mouse 
  863.          button 1. 
  864.       6. Close the Settings notebook. 
  865.  
  866.  
  867. ΓòÉΓòÉΓòÉ 2.26. Viewing the Nowhere subdirectory ΓòÉΓòÉΓòÉ
  868.  
  869. Note: this trick does not appear to work in OS/2 Warp. 
  870.  
  871. Ever wonder what the subdirectory called Nowhere on your OS/2 boot drive is? 
  872. The Nowhere subdirectory is a place where transient objects are stored. 
  873.  
  874. Since each directory represents a folder, you can view the Nowhere directory, 
  875. and watch objects appear and disappear in it: 
  876.  
  877.       1. Bring up the desktop's popup menu by clicking once on the desktop with 
  878.          mouse button 2. 
  879.       2. Choose Find. 
  880.       3. In the entry box next to "Folder:" type 
  881.  
  882.          <drive>:\ 
  883.  
  884.          where <drive> is the letter of the drive on which OS/2 is installed. 
  885.       4. Click on the Find button.  All of the objects in the root directory of 
  886.          your OS/2 drive should appear in a folder. 
  887.       5. Open the folder named "Nowhere."  (Note: you may have to open it in 
  888.          Icon view via its popup menu, depending on how your system defaults 
  889.          are set.) 
  890.       6. You should see some objects in your open Nowhere folder. 
  891.  
  892.                   CAUTION:
  893.          Do not manipulate any of the objects in the Nowhere folder!  Simply 
  894.          observe! 
  895.  
  896.  
  897.       7. Try opening and closing folders on your desktop; you should see 
  898.          objects appear and disappear from the Nowhere folder. 
  899.       8. When you are done watching the Nowhere folder, close it, then feel 
  900.          free to delete the Find Results folder, since the object in it are 
  901.          only shadows, not the actual objects. 
  902.  
  903.  
  904. ΓòÉΓòÉΓòÉ 2.27. Backing up INI files in the background ΓòÉΓòÉΓòÉ
  905.  
  906. contributed by Jorge Omar 
  907.  
  908. If you would like to backup your OS2.INI and OS2SYS.INI files in the background 
  909. during the boot process: 
  910.  
  911.       1. Create an OS/2 batch file named BACKINI.CMD: 
  912.  
  913.                   ATTRIB -S <drive>:\OS2\OS2*.INI
  914.                   COPY <drive>:\OS2\*.BK1 <drive>:\OS2\*.BK2
  915.                   COPY <drive>:\OS2\OS2*.INI <drive>:\OS2\*.BK1
  916.                   ATTRIB +S <drive>:\OS2\OS2*.INI
  917.  
  918.          where <drive> is the drive on which OS/2 resides. 
  919.  
  920.          Note: the ATTRIB command is only needed for systems running OS/2 2.11 
  921.          and higher. 
  922.       2. Open the Templates folder. 
  923.       3. Drag off a program template and place it into the Startup folder.  A 
  924.          Settings notebook should open. 
  925.       4. In the Path and File name box, fill in the necessary information for 
  926.          BACKINI.CMD. 
  927.       5. Click on the Session tab. 
  928.       6. Place a checkmark next to Start Minimized. 
  929.       7. Close the Settings notebook. 
  930.  
  931.      A variation of the above BACKINI.CMD uses XCOPY switches rather than using 
  932.      ATTRIB to reset the System attribute: 
  933.  
  934.      BACKINI.CMD: 
  935.  
  936.           XCOPY <drive>:\OS2\*.BK1 <drive>:\OS2\*.BK2 /T /R /O
  937.           XCOPY <drive>:\OS2\OS2*.INI <drive>:\OS2\*.BK1
  938.  
  939.      Note: the files OS2.BK1, OS2.BK2, OS2SYS.BK1, OS2SYS.BK2 must exist in 
  940.      <drive>:\OS2\ before this will run! 
  941.  
  942.      Related subject(s): 
  943.  
  944.      Γûá Backing up the *.ini files 
  945.  
  946.  
  947. ΓòÉΓòÉΓòÉ 2.28. Caching your cdrom drive ΓòÉΓòÉΓòÉ
  948.  
  949. You can adjust the read cache for your cdrom drive.  In your CONFIG.SYS, you 
  950. can add a switch to the end of the cdrom IFS line: 
  951.  
  952. IFS=<drive>:\OS2\CDFS.IFS /C:<number> 
  953.  
  954. where <drive> is the drive on which CDFS.IFS is located 
  955.  
  956. <number> is the number of 64K segments used for the cache.  The default is 2, 
  957. or 128K (2 x 64K = 128K). 
  958.  
  959.  
  960. ΓòÉΓòÉΓòÉ 2.29. Resetting Boot Manager to have no default partition ΓòÉΓòÉΓòÉ
  961.  
  962. contributed by Jack Tan 
  963.  
  964. Boot Manager can boot to the partition from which the system was last started, 
  965. but once you select a default partition from which to boot in Boot Manager, you 
  966. lose the ability.  To reset Boot Manager so that it has no default value, issue 
  967. the following command at an OS/2 prompt: 
  968.  
  969. SETBOOT /0: 
  970.  
  971.  
  972. ΓòÉΓòÉΓòÉ 2.30. Booting DOS from a C: partition within OS/2 ΓòÉΓòÉΓòÉ
  973.  
  974. You can create a Virtual Machine Boot to boot real DOS from the C: partition, 
  975. rather than the typical floppy boot if you are running a Boot Manager system 
  976. with real DOS on the primary (C:) partition.  Point the Virtual Machine Boot at 
  977. the C: partition by setting DOS_STARTUP_DRIVE to C:.  OS/2 must be installed on 
  978. a logical drive. 
  979.  
  980. Related subject(s): 
  981.  
  982.      Γûá Using less memory for DOS images 
  983.  
  984.  
  985. ΓòÉΓòÉΓòÉ 2.31. Resetting the boot record ΓòÉΓòÉΓòÉ
  986.  
  987. contributed by Jack Tan 
  988.  
  989. If your boot record should become damaged, you can reset your boot record by 
  990. typing the following at an OS/2 prompt: 
  991.  
  992. FDISK /NEWMBR 
  993.  
  994.  
  995. ΓòÉΓòÉΓòÉ 3. Desktop ΓòÉΓòÉΓòÉ
  996.  
  997. This section covers tips and tricks which relate to the Workplace Shell. 
  998.  
  999. Topics in this section: 
  1000.  
  1001.      Γûá Saving desktop without shutting down 
  1002.      Γûá Adding an "open folder" entry to the desktop's popup menu 
  1003.      Γûá Changing color of shadow icon text 
  1004.      Γûá Moving icon a small distance 
  1005.      Γûá Changing desktop bitmaps randomly at specified interval 
  1006.      Γûá Changing the standard mouse pointer 
  1007.      Γûá Making an object prompt for a parameter 
  1008.      Γûá Finding a "covered" icon 
  1009.      Γûá Changing icon text color 
  1010.      Γûá Recovering after an accidental Arrange 
  1011.      Γûá Creating an onscreen "app bar" 
  1012.      Γûá Creating a "trash can" 
  1013.      Γûá Selecting objects without mouse 
  1014.      Γûá Hiding a folder 
  1015.      Γûá Creating a system file editor object 
  1016.      Γûá Retrieving a "changed" icon 
  1017.      Γûá Associating data files with programs 
  1018.      Γûá Creating new printer objects 
  1019.      Γûá Creating your own templates 
  1020.      Γûá Replacing your Shredder if deleted 
  1021.      Γûá Deleting "undeletable" objects 
  1022.      Γûá Managing your icons 
  1023.      Γûá Editing object names on the desktop 
  1024.      Γûá Moving a template object without creating a copy 
  1025.      Γûá Changing the long name (icon text) of a file or folder without changing 
  1026.        the real name 
  1027.      Γûá Adding INF files to the desktop popup menu 
  1028.      Γûá Recreating a "lost" template. 
  1029.      Γûá Associating icon with executable 
  1030.      Γûá Shortening Pulldown Menus 
  1031.      Γûá Removing the Drive B Icon from the Drives Object 
  1032.      Γûá Creating a Program Object from Executables 
  1033.  
  1034.  
  1035. ΓòÉΓòÉΓòÉ 3.1. Saving desktop without shutting down ΓòÉΓòÉΓòÉ
  1036.  
  1037. To save the settings of your desktop without shutting down OS/2: 
  1038.  
  1039. by Jack Tan 
  1040.  
  1041.       1. Open the Settings folder for the Desktop. 
  1042.       2. Choose the Window tab. 
  1043.       3. Under Object Open Behavior, choose Create New Object. 
  1044.       4. Close the Settings folder. 
  1045.       5. Click on the arrow next to Open in the Desktop's popup menu; choose 
  1046.          Icon View. 
  1047.       6. A folder of your Desktop should appear.  You can arrange this folder 
  1048.          any way you wish. 
  1049.       7. Close the folder of your Desktop to save its settings.  The icon 
  1050.          positions will be saved. 
  1051.       8. Change the Object Open Behavior to Display Existing Window. 
  1052.       9. To activate the newly-saved Desktop, use a kill utility to kill the 
  1053.          second PMSHELL process.  The Workplace Shell will restart with your 
  1054.          newly-saved icon settings. 
  1055.  
  1056.      Related subject(s): 
  1057.  
  1058.      Γûá Recovering after an accidental Arrange 
  1059.  
  1060.  
  1061. ΓòÉΓòÉΓòÉ 3.2. Adding an "open folder" entry to the desktop's popup menu ΓòÉΓòÉΓòÉ
  1062.  
  1063. To add an entry to the desktop's popup menu which allows you to open a specific 
  1064. folder: 
  1065.  
  1066.       1. Create a REXX script, OPEN.CMD to open the folder. 
  1067.       2. Open the Templates folder. 
  1068.       3. Use the right mouse button to drag a copy of the Program template to 
  1069.          the desired final location.  Its Settings notebook should open. 
  1070.       4. Fill in the path and file name (OPEN.CMD) on the Programs page. 
  1071.          Complete the General page as desired. 
  1072.       5. Close the Settings notebook. 
  1073.       6. Open the Settings notebook for the Desktop. 
  1074.       7. Choose the Menu tab. 
  1075.       8. If using OS/2 v2.1, drag the icon of your newly-created OPEN.CMD 
  1076.          object onto the box underneath "Actions on menu: Primary pop-up menu." 
  1077.          If using OS/2 v2.0, click on the Create Another button and fill in the 
  1078.          proper information. 
  1079.       9. The menu choice for your OPEN.CMD object should now be available on 
  1080.          the desktop's popup menu. 
  1081.  
  1082.      Note: If you repeat the "call SysSetObjectData" line a second time, the 
  1083.      folder will open in the foreground. 
  1084.  
  1085.      Related subject(s): 
  1086.  
  1087.      Γûá Adding command sessions to the desktop's popup menu 
  1088.      Γûá Opening multiple command line sessions from the desktop menu 
  1089.      Γûá Adding INF files to the desktop popup menu 
  1090.      Γûá BITMAP.CMD 
  1091.      Γûá SETPTR.CMD 
  1092.      Γûá SETFONT.CMD 
  1093.      Γûá CHKDRIVE.CMD 
  1094.      Γûá SHUTDOWN.CMD 
  1095.      Γûá SHREDDER.CMD 
  1096.      Γûá SLEEP.CMD 
  1097.      Γûá LARGE.CMD 
  1098.      Γûá EVAL.CMD 
  1099.      Γûá BIGDOS.CMD 
  1100.      Γûá PUTLONG.CMD 
  1101.  
  1102.  
  1103. ΓòÉΓòÉΓòÉ 3.3. Changing color of shadow icon text ΓòÉΓòÉΓòÉ
  1104.  
  1105.  
  1106. ΓòÉΓòÉΓòÉ <hidden> Shadow icon text window 1 ΓòÉΓòÉΓòÉ
  1107.  
  1108. To change the color of the shadow icon text: 
  1109.  
  1110.       1. Open the Scheme Palette. 
  1111.       2. Choose Shadow Text. 
  1112.       3. Choose the desired color from the color wheel. 
  1113.       4. Close the Scheme Palette. 
  1114.       5. Drag (or Alt-drag) the desired scheme to the desired folder with the 
  1115.          right mouse button. 
  1116.  
  1117.      Related subject(s): 
  1118.  
  1119.      Γûá Changing icon text color 
  1120.  
  1121.  
  1122. ΓòÉΓòÉΓòÉ <hidden> Scheme Palette ΓòÉΓòÉΓòÉ
  1123.  
  1124. Scheme Palette with Shadow Text highlighted. 
  1125.  
  1126.  
  1127. ΓòÉΓòÉΓòÉ 3.4. Moving icon a small distance ΓòÉΓòÉΓòÉ
  1128.  
  1129.  
  1130. ΓòÉΓòÉΓòÉ <hidden> Moving icon window 1 ΓòÉΓòÉΓòÉ
  1131.  
  1132. from Tim Sipples' FAQ 
  1133.  
  1134. To move an icon a small distance, "grab" the outer edge of the icon with the 
  1135. mouse and drag it to the new position. 
  1136.  
  1137.  
  1138. ΓòÉΓòÉΓòÉ <hidden> Moving icon ΓòÉΓòÉΓòÉ
  1139.  
  1140.                         Moving an icon a small distance.
  1141.  
  1142.  
  1143. ΓòÉΓòÉΓòÉ 3.5. Changing desktop bitmaps randomly at specified interval ΓòÉΓòÉΓòÉ
  1144.  
  1145. The Desktop bitmaps can be changed via a REXX script, BITMAP.CMD.  Note that 
  1146. this script does not support tiling of bitmaps. 
  1147.  
  1148. You must set the environmental variable BOOTDRIVE to use the new version of 
  1149. BITMAP.CMD, e.g., 
  1150.  
  1151. SET BOOTDRIVE=<drive:> 
  1152.  
  1153. where <drive> is the drive from which you boot OS/2 
  1154.  
  1155. Changes to bitmap.cmd (thanks to Jack Tan) added so that bitmap subdirectory is 
  1156. no longer hard-coded into the script. 
  1157.  
  1158. Other REXX scripts: 
  1159.  
  1160.      Γûá OPEN.CMD 
  1161.      Γûá SETPTR.CMD 
  1162.      Γûá SETFONT.CMD 
  1163.      Γûá CHKDRIVE.CMD 
  1164.      Γûá SHUTDOWN.CMD 
  1165.      Γûá SHREDDER.CMD 
  1166.      Γûá SLEEP.CMD 
  1167.      Γûá LARGE.CMD 
  1168.      Γûá EVAL.CMD 
  1169.      Γûá BIGDOS.CMD 
  1170.      Γûá PUTLONG.CMD 
  1171.  
  1172.  
  1173. ΓòÉΓòÉΓòÉ 3.6. Changing the standard mouse pointer ΓòÉΓòÉΓòÉ
  1174.  
  1175. contributed by Jack Tan; original by Dann Lunsford 
  1176.  
  1177. You can replace the various mouse pointers with your own customized creations, 
  1178. and can remove the customized pointers. 
  1179.  
  1180.       1. Use the Icon Editor to create a mouse pointer file with the extension 
  1181.          *.PTR. 
  1182.       2. Create the REXX script, SETPTR.CMD. 
  1183.       3. Type SETPTR.CMD /? for help. 
  1184.  
  1185.           CAUTION:
  1186.      Do not move the *.ptr file after assigning the mouse pointer!  You will 
  1187.      not be able to boot your machine if the *.ptr file is missing or invalid. 
  1188.  
  1189.      Other REXX scripts: 
  1190.  
  1191.      Γûá OPEN.CMD 
  1192.      Γûá BITMAP.CMD 
  1193.      Γûá SETFONT.CMD 
  1194.      Γûá CHKDRIVE.CMD 
  1195.      Γûá SHUTDOWN.CMD 
  1196.      Γûá SHREDDER.CMD 
  1197.      Γûá SLEEP.CMD 
  1198.      Γûá LARGE.CMD 
  1199.      Γûá EVAL.CMD 
  1200.      Γûá BIGDOS.CMD 
  1201.      Γûá PUTLONG.CMD 
  1202.  
  1203.  
  1204. ΓòÉΓòÉΓòÉ 3.7. Making an object prompt for a parameter ΓòÉΓòÉΓòÉ
  1205.  
  1206.  
  1207. ΓòÉΓòÉΓòÉ <hidden> Object prompt window 1 ΓòÉΓòÉΓòÉ
  1208.  
  1209. To make an object prompt for a parameter when invoked 
  1210.  
  1211.       1. Open the Settings notebook for the object. 
  1212.       2. In the Parameters field of the Program page, enter a left square 
  1213.          bracket, a space, then a right square bracket, 
  1214.          i.e., [ ] 
  1215.       3. If you want text to appear along with parameter prompting, insert the 
  1216.          desired text between the square brackets. 
  1217.  
  1218.  
  1219. ΓòÉΓòÉΓòÉ <hidden> Settings notebook ΓòÉΓòÉΓòÉ
  1220.  
  1221. Parameters box of Settings notebook. 
  1222.  
  1223.  
  1224. ΓòÉΓòÉΓòÉ 3.8. Finding a "covered" icon ΓòÉΓòÉΓòÉ
  1225.  
  1226.  
  1227. ΓòÉΓòÉΓòÉ <hidden> Covered icons window 1 ΓòÉΓòÉΓòÉ
  1228.  
  1229. The disadvantage of having many windows open on the desktop is that icons on 
  1230. the desktop can often get covered.  To find an icon more easily: 
  1231.  
  1232.       1. Click the right mouse button on a clear space on the desktop. 
  1233.       2. Click on the arrow next to Open on the popup menu. 
  1234.       3. Choose Tree or Details View (Icon View can only be selected if the 
  1235.          Desktop's object open behavior has been set to Create New Window); 
  1236.          this will open up a new view of your desktop from which you can find 
  1237.          the icon you want. 
  1238.  
  1239.  
  1240. ΓòÉΓòÉΓòÉ <hidden> Desktop Popup Menu ΓòÉΓòÉΓòÉ
  1241.  
  1242. Desktop's popup menu with Tree View highlighted. 
  1243.  
  1244.  
  1245. ΓòÉΓòÉΓòÉ 3.9. Changing icon text color ΓòÉΓòÉΓòÉ
  1246.  
  1247.  
  1248. ΓòÉΓòÉΓòÉ <hidden> Color Palette ΓòÉΓòÉΓòÉ
  1249.  
  1250. The color of the icon text on your desktop can be changed as follows: 
  1251.  
  1252.       1. Open the Color Palette. 
  1253.       2. Hold the Ctrl key. 
  1254.       3. Use the right mouse button to drag the desired color to the desktop. 
  1255.  
  1256.      Related subject(s): 
  1257.  
  1258.      Γûá Changing color of shadow icon text 
  1259.  
  1260.  
  1261. ΓòÉΓòÉΓòÉ <hidden> Color Palette ΓòÉΓòÉΓòÉ
  1262.  
  1263. Color Palette with color being dragged with mouse. 
  1264.  
  1265.  
  1266. ΓòÉΓòÉΓòÉ 3.10. Recovering after an accidental Arrange ΓòÉΓòÉΓòÉ
  1267.  
  1268. To regain your desktop's icon positions after an accidental Arrange, use a 
  1269. third-party utility which can kill processes to kill the second instance of 
  1270. PMSHELL.  The Workplace Shell will restart with your old icon positions. 
  1271.  
  1272. Related subject(s): 
  1273.  
  1274.      Γûá Saving desktop without shutting down 
  1275.  
  1276.  
  1277. ΓòÉΓòÉΓòÉ 3.11. Creating an onscreen "app bar" ΓòÉΓòÉΓòÉ
  1278.  
  1279.  
  1280. ΓòÉΓòÉΓòÉ <hidden> App bar window 1 ΓòÉΓòÉΓòÉ
  1281.  
  1282. You can create something that acts a little like an "app bar": 
  1283.  
  1284.       1. Create a new folder. 
  1285.       2. Size the folder so that it has the shape and size that you like, then 
  1286.          position it where you like. 
  1287.       3. Set the folder's view to either Flowed or Non-flowed. 
  1288.       4. Drag shadows of your most-used applications to the folder. 
  1289.       5. Drag a shadow of your "app bar" folder to your Startup folder. 
  1290.       6. You now have a folder of your most-used apps that will open at boot. 
  1291.          You can further customize the "app bar" with a utility that will cause 
  1292.          the folder to "float" on top of other windows so that it will be more 
  1293.          accessible. 
  1294.  
  1295.  
  1296. ΓòÉΓòÉΓòÉ <hidden> App Bar ΓòÉΓòÉΓòÉ
  1297.  
  1298. Example of an App Bar. 
  1299.  
  1300.  
  1301. ΓòÉΓòÉΓòÉ 3.12. Creating a "trash can" ΓòÉΓòÉΓòÉ
  1302.  
  1303. You can create a trash can-like icon on your desktop: 
  1304.  
  1305.       1. Open the Templates folder and make a copy of the Folder template. 
  1306.       2. You should now have a template called Folder:1; rename it to Trash, or 
  1307.          whatever you like. 
  1308.       3. Attach your favorite trash can icon to your Trash template. 
  1309.       4. To create a trash can, use your right mouse button to drag a Trash 
  1310.          folder from your Trash template onto your desktop. 
  1311.       5. Drag objects to the Trash as you see fit. 
  1312.       6. When you want to empty the Trash can, simply delete the folder, then 
  1313.          replace it with a new Trash can by pulling one off of your Trash 
  1314.          template. 
  1315.       7. The advantage of using the Trash can over the shredder is that you can 
  1316.          open your Trash can and observe the contents, and remove what you 
  1317.          don't want deleted. 
  1318.  
  1319.      contributed by Chris Corzine 
  1320.  
  1321.      Another trash can tip: 
  1322.  
  1323.       1. Create a subdirectory called <drive>:\DESKTOP\TRASH (where <drive> is 
  1324.          the drive on which OS/2 resides). 
  1325.       2. Create a batch file called EMPTRASH.CMD.  It should contain the line 
  1326.          DEL <drive>:\DESKTOP\TRASH /N 
  1327.       3. Add EMPTRASH.CMD to the menu of your trash folder and call the menu 
  1328.          choice "Empty Trash." 
  1329.       4. Your trash folder should now have an Empty Trash choice on its menu. 
  1330.  
  1331.  
  1332. ΓòÉΓòÉΓòÉ 3.13. Selecting objects without mouse ΓòÉΓòÉΓòÉ
  1333.  
  1334. You can select objects in folders or the Deskop without a mouse.  Simply type 
  1335. the first letter of the object, and the object will be highlighted. Hit Enter 
  1336. to open the object.  If more than one object begins with the same letter, 
  1337. subsequent typing of the same letter will jump between each object that begins 
  1338. with that letter. 
  1339.  
  1340. Related subject(s): 
  1341.  
  1342.      Γûá Selecting listbox entries without a mouse 
  1343.  
  1344.  
  1345. ΓòÉΓòÉΓòÉ 3.14. Hiding a folder ΓòÉΓòÉΓòÉ
  1346.  
  1347. You can hide folder icons on the desktop so that others can't see them: 
  1348.  
  1349.       1. Open the Settings notebook of the folder which you wish to hide. 
  1350.       2. Click on the File tab, then click on the right arrow in the lower 
  1351.          right corner to turn to the second page of the File tab. 
  1352.       3. Place a check mark next to Hidden under the Flags section.  The folder 
  1353.          should now be hidden. 
  1354.  
  1355.      To view the folder's icon once again: 
  1356.  
  1357.       1. Open the Settings notebook for the Desktop. 
  1358.       2. Click on the Include tab. 
  1359.       3. Click on the right arrow in the lower right corner to turn to the 
  1360.          second page of the Include tab. 
  1361.       4. Click on Change.  A new dialog box will appear. 
  1362.       5. In the dialog box, choose the following settings: 
  1363.  
  1364.          a) Property to be considered = Flags 
  1365.          b) Comparison type = Not equal 
  1366.          c) Comparison value = H 
  1367.  
  1368.       6. Click on Change. 
  1369.       7. Close Settings notebook.  The icon should now be visible. 
  1370.  
  1371.  
  1372. ΓòÉΓòÉΓòÉ 3.15. Creating a system file editor object ΓòÉΓòÉΓòÉ
  1373.  
  1374. You can create an object which, when opened, will open your system setup files 
  1375. for editing, through the aid of a Work Area folder: 
  1376.  
  1377.       1. Open the Settings notebook for the System Editor. 
  1378.       2. Click on the Association tab. 
  1379.       3. If Plain Text does not appear in the Current Types box, use the Add 
  1380.          button to add it from the Available Types box.  Close the Settings 
  1381.          notebook. 
  1382.       4. Create a new folder. 
  1383.       5. Open the Settings notebook for the new folder. 
  1384.       6. Click on the File tab. 
  1385.       7. Place a check in the box next to Work Area.  Close the Settings 
  1386.          notebook. 
  1387.       8. Open the Drives object, then open the drive(s) with the CONFIG.SYS, 
  1388.          WIN.INI, and SYSTEM.INI files. 
  1389.       9. Open the Settings notebook for the CONFIG.SYS file. 
  1390.      10. Click on Association. 
  1391.      11. If Plain Text does not appear in the Current Types box, use the Add 
  1392.          button to add it from the Available Types box.  Close the Settings 
  1393.          notebook. Repeat for the Settings notebook for the WIN.INI and 
  1394.          SYSTEM.INI files. 
  1395.      12. Drag shadows of the CONFIG.SYS, WIN.INI, and SYSTEM.INI files into the 
  1396.          new folder. 
  1397.      13. Open the new folder if not already open. 
  1398.      14. Use the right mouse button on the CONFIG.SYS shadow object to popup 
  1399.          the menu.  Click on the arrow next to Open, choose System Editor. 
  1400.          Your CONFIG.SYS should be loaded into the System Editor.  Repeat for 
  1401.          WIN.INI and SYSTEM.INI. 
  1402.      15. Leaving the three System Editor windows open, close the new folder. 
  1403.      16. You should now have a folder object that will open up your system 
  1404.          files automatically when the folder is opened. 
  1405.  
  1406.  
  1407. ΓòÉΓòÉΓòÉ 3.16. Retrieving a "changed" icon ΓòÉΓòÉΓòÉ
  1408.  
  1409. In OS/2 2.1, making changes to an object's settings often causes the object's 
  1410. icon to revert to its default icon.  To retrieve your customized icon, this 
  1411. usually works: 
  1412.  
  1413.       1. Open the object's Settings notebook. 
  1414.       2. Choose the General tab. 
  1415.       3. Click on the Undo button. 
  1416.  
  1417.      Note: this behavior is fixed in the 2.11 CSD. 
  1418.  
  1419.      Related subject(s): 
  1420.  
  1421.      Γûá Managing your icons 
  1422.  
  1423.  
  1424. ΓòÉΓòÉΓòÉ 3.17. Associating data files with programs ΓòÉΓòÉΓòÉ
  1425.  
  1426.  
  1427. ΓòÉΓòÉΓòÉ <hidden> Associate files ΓòÉΓòÉΓòÉ
  1428.  
  1429. Want to be able to double click on a data file object and have it open in its 
  1430. appropriate application?  Try setting up associations in your applications: 
  1431.  
  1432.       1. Open the Settings notebook for the application. 
  1433.       2. Choose the Association tab. 
  1434.       3. Under Available Types, see if you can find the file type appropriate 
  1435.          for your application.  If so, highlight the file type, and press the 
  1436.          Add button to the right of the box. 
  1437.       4. If the file type you need doesn't exist under Available Types, and the 
  1438.          data files you wish to have associated have a common file extension or 
  1439.          name, enter the common part of the filename (with appropriate 
  1440.          wildcards) in the New Name box.  Click on the Add button to the right 
  1441.          of the box. 
  1442.       5. If neither of the above two situations applies, open up the Settings 
  1443.          notebook for each data file you wish to associate, and set up the 
  1444.          association there. 
  1445.  
  1446.      Note that this does not work for all programs. 
  1447.  
  1448.  
  1449. ΓòÉΓòÉΓòÉ <hidden> Associations ΓòÉΓòÉΓòÉ
  1450.  
  1451. Settings notebook displaying Describe association. 
  1452.  
  1453.  
  1454. ΓòÉΓòÉΓòÉ 3.18. Creating new printer objects ΓòÉΓòÉΓòÉ
  1455.  
  1456. To create a new printer object: 
  1457.  
  1458.       1. Open the Templates folder. 
  1459.       2. Drag a new printer object out from the Printer template with the right 
  1460.          mouse button. 
  1461.       3. Customize the settings for your printer. 
  1462.  
  1463.  
  1464. ΓòÉΓòÉΓòÉ 3.19. Creating your own templates ΓòÉΓòÉΓòÉ
  1465.  
  1466. You can create your own templates for customized uses.  For example, you can 
  1467. create a template of a word processor file with boilerplate text for business 
  1468. letters.  The next time you want to write a new business letter, just drag a 
  1469. copy off of your customized template, and the file, complete with your 
  1470. pre-defined settings, will be ready to edit. 
  1471.  
  1472. To create a customized template: 
  1473.  
  1474.       1. Customize your data file (such as a wordprocessor file) to the way you 
  1475.          want it.  Save the file. 
  1476.       2. Open the Drives object and find the file you just created. 
  1477.       3. Make a copy of the file object; you can either use Copy from the 
  1478.          object's pop-up menu, or hold down the Ctrl key while dragging off a 
  1479.          copy with your right mouse button. 
  1480.       4. Open the Settings notebook for the copy you just made. 
  1481.       5. Choose the General tab. 
  1482.       6. Place a check mark next to Template.  Close the notebook. 
  1483.       7. When you want to use the new template, just use your right mouse 
  1484.          button and drag a copy off of the template. 
  1485.  
  1486.      Related topic(s): 
  1487.  
  1488.      Γûá Moving a template object without creating a copy 
  1489.  
  1490.  
  1491. ΓòÉΓòÉΓòÉ 3.20. Replacing your Shredder if deleted ΓòÉΓòÉΓòÉ
  1492.  
  1493. Did you somehow manage to shred your Shredder?  If so, SHREDDER.CMD can replace 
  1494. it. 
  1495.  
  1496. CAUTION:
  1497. This REXX script does not check to see if you already have a Shredder present, 
  1498. and will replace one if it exists. 
  1499.  
  1500. Related subject(s): 
  1501.  
  1502.      Γûá Finding settings for original objects 
  1503.      Γûá OPEN.CMD 
  1504.      Γûá BITMAP.CMD 
  1505.      Γûá SETPTR.CMD 
  1506.      Γûá SETFONT.CMD 
  1507.      Γûá CHKDRIVE.CMD 
  1508.      Γûá SHUTDOWN.CMD 
  1509.      Γûá SLEEP.CMD 
  1510.      Γûá LARGE.CMD 
  1511.      Γûá EVAL.CMD 
  1512.      Γûá BIGDOS.CMD 
  1513.      Γûá PUTLONG.CMD 
  1514.  
  1515.  
  1516. ΓòÉΓòÉΓòÉ 3.21. Deleting "undeletable" objects ΓòÉΓòÉΓòÉ
  1517.  
  1518. If you find you have an undeletable object, this trick sometimes (but not 
  1519. always) works. 
  1520.  
  1521.       1. Insert a floppy disk in a floppy drive. 
  1522.       2. Open the Drives object. 
  1523.       3. Drag the undeletable object to the floppy drive object.  Make sure 
  1524.          that you are moving the object (you can ensure this by holding the 
  1525.          Shift key while dragging). 
  1526.       4. Format the floppy disk. 
  1527.  
  1528.  
  1529. ΓòÉΓòÉΓòÉ 3.22. Managing your icons ΓòÉΓòÉΓòÉ
  1530.  
  1531.  
  1532. ΓòÉΓòÉΓòÉ <hidden> Change icon ΓòÉΓòÉΓòÉ
  1533.  
  1534. contributed by George Orvis 
  1535.  
  1536. To manage your icons more easily: 
  1537.  
  1538.       1. Place your icons (*.ICO) into a subdirectory (or several 
  1539.          subdirectories, if you have a large number of icons). 
  1540.  
  1541.       2. Create an object of that directory: 
  1542.  
  1543.          a) Open the Drive object of the drive in which the icon subdirectory 
  1544.             is located. 
  1545.          b) Drag a shadow of the icon subdirectory into the desired location. 
  1546.  
  1547.       3. Set view of the folder to Icon View. 
  1548.  
  1549.       4. You now have a handy folder full of icons.  If you double click on an 
  1550.          icon, it starts the icon editor. 
  1551.  
  1552.       5. To change an object's icon (OS/2 2.1): 
  1553.  
  1554.          a) Open the Settings notebook of the object. 
  1555.          b) Choose the General tab. 
  1556.          c) Drag an icon out of your icon folder with the right mouse button, 
  1557.             and drop it onto the icon on the General page of the Settings 
  1558.             notebook. 
  1559.  
  1560.      Related subject(s): 
  1561.  
  1562.      Γûá Retrieving a "changed" icon 
  1563.  
  1564.  
  1565. ΓòÉΓòÉΓòÉ <hidden> Icon directory ΓòÉΓòÉΓòÉ
  1566.  
  1567. Directory of icon files 
  1568.  
  1569.  
  1570. ΓòÉΓòÉΓòÉ <hidden> Creating object ΓòÉΓòÉΓòÉ
  1571.  
  1572. Creating an icon directory object. 
  1573.  
  1574.  
  1575. ΓòÉΓòÉΓòÉ <hidden> Setting Icon view ΓòÉΓòÉΓòÉ
  1576.  
  1577. Setting icon directory folder to Icon view by default. 
  1578.  
  1579.  
  1580. ΓòÉΓòÉΓòÉ <hidden> Icon folder ΓòÉΓòÉΓòÉ
  1581.  
  1582. Folder full of icons. 
  1583.  
  1584.  
  1585. ΓòÉΓòÉΓòÉ <hidden> Changing an icon ΓòÉΓòÉΓòÉ
  1586.  
  1587. Changing an object's icon by dragging and dropping (OS/2 2.1). 
  1588.  
  1589.  
  1590. ΓòÉΓòÉΓòÉ 3.23. Editing object names on the desktop ΓòÉΓòÉΓòÉ
  1591.  
  1592. contributed by Lt. Rob Targosz 
  1593.  
  1594. You can change the icon text as follows: 
  1595.  
  1596.       1. Select the icon. 
  1597.       2. Press Shift-F9 on your keyboard, or hold the Alt key and click on the 
  1598.          icon text with mouse button 1. 
  1599.       3. Type in the new icon text 
  1600.       4. Click on the screen with your mouse away from the icon. 
  1601.  
  1602.      contributed by Jack Tan 
  1603.  
  1604.      When editing the name of an object on the desktop, use the main keyboard 
  1605.      "Enter" key to add a newline to the name.  Use the keypad "Enter" key to 
  1606.      signal the end of editing. 
  1607.  
  1608.      Note: this may not be supported on all keyboards. 
  1609.  
  1610.  
  1611. ΓòÉΓòÉΓòÉ 3.24. Moving a template object without creating a copy ΓòÉΓòÉΓòÉ
  1612.  
  1613. contributed by Nathan Hamblen 
  1614.  
  1615. To move a template object without dragging off a copy of the template, hold 
  1616. down the Shift key while dragging the template with mouse button 2. 
  1617.  
  1618. Related topic(s): 
  1619.  
  1620.      Γûá Creating your own templates 
  1621.  
  1622.  
  1623. ΓòÉΓòÉΓòÉ 3.25. Changing the long name of a file or folder without changing the real name ΓòÉΓòÉΓòÉ
  1624.  
  1625. contributed by Bill Parrill 
  1626.  
  1627. The long name, or icon text, of a file or folder can be changed without 
  1628. changing its real name with PUTLONG.CMD. 
  1629.  
  1630. where  myfil.ext can either be a filename or the full path to a subdirectory 
  1631. which represents a folder. 
  1632.  
  1633. Other REXX scripts: 
  1634.  
  1635.      Γûá OPEN.CMD 
  1636.      Γûá BITMAP.CMD 
  1637.      Γûá SETPTR.CMD 
  1638.      Γûá SETFONT.CMD 
  1639.      Γûá SHREDDER.CMD 
  1640.      Γûá CHKDRIVE.CMD 
  1641.      Γûá SHUTDOWN.CMD 
  1642.      Γûá SLEEP.CMD 
  1643.      Γûá LARGE.CMD 
  1644.      Γûá EVAL.CMD 
  1645.      Γûá BIGDOS.CMD 
  1646.  
  1647.  
  1648. ΓòÉΓòÉΓòÉ 3.26. Adding INF files to the desktop popup menu ΓòÉΓòÉΓòÉ
  1649.  
  1650.  
  1651. ΓòÉΓòÉΓòÉ <hidden> INF file to popup menu ΓòÉΓòÉΓòÉ
  1652.  
  1653. Settings notebook for INF object. 
  1654.  
  1655.  
  1656. ΓòÉΓòÉΓòÉ <hidden> INF file to popup menu ΓòÉΓòÉΓòÉ
  1657.  
  1658. INF files are those that are viewed with OS/2's VIEW.EXE.  If an INF file is 
  1659. added to a popup menu via the regular procedure, attempts to open the INF file 
  1660. will result in a "Topic not found" error message.  To add an INF file to the 
  1661. desktop's popup menu: 
  1662.  
  1663.       1. Create a viewable INF object: 
  1664.  
  1665.          a) Open the Templates folder.  Drag a Program template off with mouse 
  1666.             button 2.  A Settings notebook will open. 
  1667.          b) On the Program page, under Path and file name, type: 
  1668.             <drive>:\OS2\VIEW.EXE 
  1669.             where <drive> is the drive on which OS/2 resides. 
  1670.          c) In the Parameters box, enter the path and name of the INF file, 
  1671.             then append a percent sign (%) to the end of the file name. 
  1672.          d) Close the Settings notebook for the INF object. 
  1673.  
  1674.       2. Add the INF file to the desktop's popup menu: 
  1675.  
  1676.          a) Open the Settings notebook for the desktop. 
  1677.          b) Click on the Menu tab. 
  1678.          c) With mouse button 2, drag the INF object onto the box under Actions 
  1679.             on Menu. 
  1680.          d) Close the Settings notebook for the desktop. 
  1681.  
  1682.       3. You should now have a menu choice for the INF file. 
  1683.  
  1684.      Related subject(s): 
  1685.  
  1686.      Γûá Adding an "open folder" entry to the desktop's popup menu 
  1687.      Γûá Adding command sessions to the desktop's popup menu 
  1688.  
  1689.  
  1690. ΓòÉΓòÉΓòÉ 3.27. Recreating a "lost" template ΓòÉΓòÉΓòÉ
  1691.  
  1692. contributed by Jack Tan 
  1693.  
  1694. To recreate a lost template: 
  1695.  
  1696.       1. Find an object on your system which is of the same type as the one 
  1697.          that was lost. 
  1698.       2. Pop up the menu of the object by clicking on the object once with 
  1699.          mouse button 2. 
  1700.       3. Select Create Another from the menu. 
  1701.       4. Open the Settings notebook for the new object. 
  1702.       5. Click on the General tab. 
  1703.       6. Place a check mark next to Template. 
  1704.       7. Close the Settings notebook for the object. 
  1705.       8. You should now have a template object. 
  1706.  
  1707.  
  1708. ΓòÉΓòÉΓòÉ 3.28. Associating icon with executable ΓòÉΓòÉΓòÉ
  1709.  
  1710. contributed by Jack Tan 
  1711.  
  1712. To associate an icon with an executable: 
  1713.  
  1714.       1. Copy the icon file to the same directory as the executable. 
  1715.       2. Rename the icon file to the same base name as the executable, except 
  1716.          with the extension *.ICO. 
  1717.  
  1718.  
  1719. ΓòÉΓòÉΓòÉ 3.29. Shortening Pulldown Menus ΓòÉΓòÉΓòÉ
  1720.  
  1721. contributed by Jack Tan 
  1722.  
  1723. To shorten the popup/pulldown menus, add: 
  1724.  
  1725. SET MENUSTYLE=SHORT 
  1726.  
  1727. to your CONFIG.SYS.  Several menu choices will be removed, including Help, 
  1728. Create another, Create Shadow, Copy, Move, Delete, and Find. 
  1729.  
  1730.  
  1731. ΓòÉΓòÉΓòÉ 3.30. Removing the Drive B Icon from the Drives Object ΓòÉΓòÉΓòÉ
  1732.  
  1733. contributed by Timur Tabi 
  1734.  
  1735. If you have only one floppy drive, but the Drives object still insists on 
  1736. having a Drive B object, you can remove it as follows: 
  1737.  
  1738.       1. Open the Settings notebook for the Drives object. 
  1739.       2. Choose the Include page. 
  1740.       3. Delete the existing criterion. 
  1741.       4. Add new criteria with the following values: 
  1742.  
  1743.         Γûá Attribute = Object Title 
  1744.         Γûá Comparison = is equal to 
  1745.         Γûá Comparison Value = drive b 
  1746.         Γûá Use of criteria = E - exclude 
  1747.  
  1748.       5. Close the Settings notebook. 
  1749.  
  1750.  
  1751. ΓòÉΓòÉΓòÉ 3.31. Creating a Program Object from Executables ΓòÉΓòÉΓòÉ
  1752.  
  1753. contributed by Timur Tabi 
  1754.  
  1755. Easily create program objects from executable files with PROGRAM.CMD. 
  1756.  
  1757.       1. Create a program object called "Make Object." 
  1758.       2. In the Path and filename box, enter the path and name of PROGRAM.CMD. 
  1759.       3. In the Parameters box, put: 
  1760.          %* [What is the name of this object?] 
  1761.       4. Choose the Session page. 
  1762.       5. Check the Start Minimized box. 
  1763.       6. Choose the Associations page. 
  1764.       7. Add associations for files matching the *.EXE, *.CMD, *.BAT and *.COM 
  1765.          file extensions. 
  1766.       8. Close the Settings notebook. 
  1767.       9. Each *.EXE, *.CMD, *.BAT and *.COM file should now have a "Make 
  1768.          Object" choice on the Open menu.  Additionally, the program icon can 
  1769.          be dragged and dropped onto the Make Object icon.  A program object 
  1770.          for the desired program will be created on your desktop. 
  1771.  
  1772.  
  1773. ΓòÉΓòÉΓòÉ 4. Presentation Manager ΓòÉΓòÉΓòÉ
  1774.  
  1775. This section covers tips and tricks which affect Presentation Manager. 
  1776.  
  1777. Topics in this section: 
  1778.  
  1779.      Γûá Making fonts extremely small 
  1780.      Γûá Starting PM programs minimized 
  1781.      Γûá Changing the default PM system font 
  1782.      Γûá Moving a window in the background 
  1783.      Γûá Closing several windows at once 
  1784.      Γûá Using keyboard shortcuts in PM 
  1785.      Γûá Navigating in notebooks without a mouse 
  1786.      Γûá Changing the default view of a folder 
  1787.      Γûá Speeding up opening folders 
  1788.      Γûá Manipulating objects through the Window List 
  1789.      Γûá Selecting listbox entries without a mouse 
  1790.      Γûá Making "no-shows" re-appear 
  1791.      Γûá Opening the parent folder 
  1792.      Γûá Jumping between windowed sessions 
  1793.      Γûá Starting an OS/2 command line from a folder's directory 
  1794.      Γûá Opening windowed command line in the background 
  1795.      Γûá Speeding up opening folders II 
  1796.      Γûá Resetting Drive Open Behavior 
  1797.      Γûá Scrolling in the Background 
  1798.  
  1799.  
  1800. ΓòÉΓòÉΓòÉ 4.1. Making fonts extremely small ΓòÉΓòÉΓòÉ
  1801.  
  1802.  
  1803. ΓòÉΓòÉΓòÉ <hidden> Small fonts split window 1 ΓòÉΓòÉΓòÉ
  1804.  
  1805. You can make most Presentation Manager fonts as small as you like: 
  1806.  
  1807.       1. Open the Font Palette. 
  1808.       2. Double click on one of the fonts.  A new dialog box will open. 
  1809.       3. Under "Size," highlight the font size shown in the box. 
  1810.       4. Type in a new font size that is non-zero (decimal values work); you 
  1811.          should notice a corresponding change in the size of the font in the 
  1812.          Sample box. 
  1813.  
  1814.      Note that this trick does not work for System Proportional, System 
  1815.      Monospaced, or System VIO fonts. 
  1816.  
  1817.      Related subject(s): 
  1818.  
  1819.      Γûá Changing the default PM system font 
  1820.  
  1821.  
  1822. ΓòÉΓòÉΓòÉ <hidden> Font Palette ΓòÉΓòÉΓòÉ
  1823.  
  1824. Font Palette dialog box with point size highlighted. 
  1825.  
  1826.  
  1827. ΓòÉΓòÉΓòÉ 4.2. Starting PM programs minimized ΓòÉΓòÉΓòÉ
  1828.  
  1829. from Tim Sipples' FAQ 
  1830.  
  1831. In order to start Presentation Manager programs minimized 
  1832.  
  1833.       1. Open the Settings notebook for the object. 
  1834.       2. On the Program page, change the name of the program so that it is 
  1835.          misspelled. 
  1836.       3. Go to the Session page and click on Start Minimized. 
  1837.       4. Go back to the Program page, and correct the spelling of the program 
  1838.          name. 
  1839.       5. Close the Settings notebook. 
  1840.  
  1841.  
  1842. ΓòÉΓòÉΓòÉ 4.3. Changing the default PM system font ΓòÉΓòÉΓòÉ
  1843.  
  1844. You can change the default system font with a REXX script, SETFONT.CMD. 
  1845. However, the font used in the Settings notebooks will not be affected. 
  1846.  
  1847. Note: system fonts are designated by font size and font name, separated only by 
  1848. a period.  (e.g., 8pt Helv would be designated by "8.Helv") 
  1849.  
  1850. Note: only the "default" fonts will work, e.g., Helv (not Helvetica), Tms Rmn 
  1851. (not Times Roman), System Proportional, and System Monospaced. 
  1852.  
  1853. Related subject(s): 
  1854.  
  1855.      Γûá Making fonts extremely small 
  1856.      Γûá OPEN.CMD 
  1857.      Γûá BITMAP.CMD 
  1858.      Γûá SETPTR.CMD 
  1859.      Γûá CHKDRIVE.CMD 
  1860.      Γûá SHUTDOWN.CMD 
  1861.      Γûá SHREDDER.CMD 
  1862.      Γûá SLEEP.CMD 
  1863.      Γûá LARGE.CMD 
  1864.      Γûá EVAL.CMD 
  1865.      Γûá BIGDOS.CMD 
  1866.      Γûá PUTLONG.CMD 
  1867.  
  1868.  
  1869. ΓòÉΓòÉΓòÉ 4.4. Moving a window in the background ΓòÉΓòÉΓòÉ
  1870.  
  1871. You can move a window in the background without bringing it to the front by 
  1872. holding the Ctrl key and dragging the window by its title bar with your mouse. 
  1873.  
  1874. Related subject(s): 
  1875.  
  1876.      Γûá Opening windowed command line in the background 
  1877.  
  1878.  
  1879. ΓòÉΓòÉΓòÉ 4.5. Closing several windows at once ΓòÉΓòÉΓòÉ
  1880.  
  1881.  
  1882. ΓòÉΓòÉΓòÉ <hidden> Closing windows split window 1 ΓòÉΓòÉΓòÉ
  1883.  
  1884. You can close all or several of your open windows using the following method: 
  1885.  
  1886.       1. Bring up the Window List with Ctrl-Esc or clicking both mouse buttons 
  1887.          at once. 
  1888.       2. Highlight the windows you want to close with your mouse. 
  1889.       3. Press the Delete key on your keyboard, or click your right mouse 
  1890.          button on one of the highlighted entries and choose Close from the 
  1891.          popup menu. 
  1892.  
  1893.  
  1894. ΓòÉΓòÉΓòÉ <hidden> Closing windows split window 2 ΓòÉΓòÉΓòÉ
  1895.  
  1896. Window List with highlighted items and popup menu. 
  1897.  
  1898.  
  1899. ΓòÉΓòÉΓòÉ 4.6. Using keyboard shortcuts in PM ΓòÉΓòÉΓòÉ
  1900.  
  1901. There are plenty of keyboard shortcuts in Presentation Manager.  Here are just 
  1902. a few of the lesser-known ones: 
  1903.  
  1904.       1. Alt-Backspace = undo last action (note that this doesn't always work). 
  1905.       2. Ctrl-Del = erase to end of field (useful when you have to retype text 
  1906.          in a field - press Home to get to the beginning of a field, then 
  1907.          Ctrl-Del to erase the text in the field - no more endless 
  1908.          backspacing). 
  1909.       3. Alt-F4 = close window. 
  1910.       4. Alt-F5 = restore window. 
  1911.       5. Alt-F6 = move between related windows, such as between an application 
  1912.          and its Help Window. 
  1913.       6. Alt-F7 = move window with cursor keys. 
  1914.       7. Alt-F8 = resize window with cursor keys. 
  1915.       8. Alt-F9 = minimize/hide window. 
  1916.       9. Alt-F10 = maximize window. 
  1917.      10. F5 = refresh window. 
  1918.  
  1919.      Related subject(s): 
  1920.  
  1921.      Γûá Navigating in notebooks without a mouse 
  1922.  
  1923.  
  1924. ΓòÉΓòÉΓòÉ 4.7. Navigating in notebooks without a mouse ΓòÉΓòÉΓòÉ
  1925.  
  1926. To navigate around the notebooks (such as an object's Settings notebook) 
  1927. without a mouse (note that sometimes these keys don't always act consistently): 
  1928.  
  1929.       1. Down/Up Arrows = moves between notebook tabs when a tab is highlighted 
  1930.       2. Tab = moves dotted box highlight between selections 
  1931.       3. Spacebar = moves to next page if its notebook tab is highlighted 
  1932.       4. Alt-Down Arrow = move from notebook tab to page 
  1933.       5. Alt-Up Arrow = move from page to notebook tab 
  1934.       6. Alt-PageDown = move to next page 
  1935.       7. Alt-PageUp = move to previous page 
  1936.       8. Ctrl-Tab = move to next field on a page 
  1937.       9. Shift-Tab = move to previous field on a page 
  1938.  
  1939.      Related subject(s): 
  1940.  
  1941.      Γûá Using keyboard shortcuts in PM 
  1942.  
  1943.  
  1944. ΓòÉΓòÉΓòÉ 4.8. Changing the default view of a folder ΓòÉΓòÉΓòÉ
  1945.  
  1946.  
  1947. ΓòÉΓòÉΓòÉ <hidden> Default folder view ΓòÉΓòÉΓòÉ
  1948.  
  1949.       1. Open the Settings notebook for the folder you wish to change. 
  1950.       2. Choose the Menu tab. 
  1951.       3. Highlight ~Open in the box marked Available Menus. 
  1952.       4. Click on the Settings button to the right of the box.  A new dialog 
  1953.          box will open. 
  1954.       5. Under Default Action, click on the down arrow next to the box. 
  1955.          Several choices will be revealed.  Choose the one you wish. 
  1956.       6. Click on OK, and close the Settings notebook. 
  1957.  
  1958.      Related subject(s): 
  1959.  
  1960.      Γûá Resetting Drive Open Behavior 
  1961.  
  1962.  
  1963. ΓòÉΓòÉΓòÉ <hidden> Changing default view ΓòÉΓòÉΓòÉ
  1964.  
  1965. Dialog box with Default Action choice. 
  1966.  
  1967.  
  1968. ΓòÉΓòÉΓòÉ 4.9. Speeding up opening folders ΓòÉΓòÉΓòÉ
  1969.  
  1970. contributed by David Haar 
  1971.  
  1972. Folders open faster when set to Flowed view: 
  1973.  
  1974.       1. Open the Settings notebook for the folder. 
  1975.       2. On page 1 of the View section, click on Flowed. 
  1976.  
  1977.      You may also wish to have the folders sorted automatically: 
  1978.  
  1979.       1. Open the Settings notebook for the folder. 
  1980.       2. Choose the Sort tab. 
  1981.       3. In the pull down box under Default Sort Attribute, choose which type 
  1982.          of sorting you like. 
  1983.       4. Place a check next to Maintain Sort Order. 
  1984.       5. Close the Settings notebook. 
  1985.  
  1986.      Related subject(s): 
  1987.  
  1988.      Γûá Speeding up opening folders II 
  1989.  
  1990.  
  1991. ΓòÉΓòÉΓòÉ 4.10. Enlarging the mouse cursor ΓòÉΓòÉΓòÉ
  1992.  
  1993. You can make the mouse cursor larger on systems with standard VGA with 
  1994. LARGE.CMD. 
  1995.  
  1996. The system must be rebooted for the change to take effect. 
  1997.  
  1998. Other REXX scripts: 
  1999.  
  2000.      Γûá OPEN.CMD 
  2001.      Γûá BITMAP.CMD 
  2002.      Γûá SETPTR.CMD 
  2003.      Γûá SETFONT.CMD 
  2004.      Γûá CHKDRIVE.CMD 
  2005.      Γûá SHUTDOWN.CMD 
  2006.      Γûá SHREDDER.CMD 
  2007.      Γûá SLEEP.CMD 
  2008.      Γûá EVAL.CMD 
  2009.      Γûá BIGDOS.CMD 
  2010.      Γûá PUTLONG.CMD 
  2011.  
  2012.  
  2013. ΓòÉΓòÉΓòÉ 4.11. Manipulating objects through the Window List ΓòÉΓòÉΓòÉ
  2014.  
  2015. correction by Martin Lafaix 
  2016.  
  2017. You can affect objects that are listed in the Window List: 
  2018.  
  2019.      Γûá Holding the Shift key and double-clicking on an object's name in the 
  2020.        Window List will minimize the application. 
  2021.  
  2022.      Γûá Holding the Ctrl key and double-clicking on an object's name in the 
  2023.        Window List will maximize the application. 
  2024.  
  2025.      Γûá Holding the Alt key and single-clicking on an object's name in the 
  2026.        Window List will allow you to change the name of the object. 
  2027.  
  2028.  
  2029. ΓòÉΓòÉΓòÉ 4.12. Selecting listbox entries without a mouse ΓòÉΓòÉΓòÉ
  2030.  
  2031. An easy way to select an entry in a Presentation Manager listbox is to type the 
  2032. first letter of the name of the entry.  Subsequent presses of the same letter 
  2033. will cycle through all listbox entries which start with that letter. 
  2034.  
  2035. Related subject(s): 
  2036.  
  2037.      Γûá Selecting objects without mouse 
  2038.  
  2039.  
  2040. ΓòÉΓòÉΓòÉ 4.13. Making "no-shows" re-appear ΓòÉΓòÉΓòÉ
  2041.  
  2042.  
  2043. ΓòÉΓòÉΓòÉ <hidden> No shows ΓòÉΓòÉΓòÉ
  2044.  
  2045. Sometimes you will swear that you've opened an application, but for some 
  2046. reason, you don't see it onscreen (the Sticky Pad and Settings notebooks are 
  2047. especially notorious).  Try this, and see if it does the trick: 
  2048.  
  2049.       1. Use Ctrl-Esc or click both mouse buttons simultaneously on the desktop 
  2050.          to open the Window List. 
  2051.       2. Click the right mouse button on the name of the offending application. 
  2052.          This will pop up the object's menu. 
  2053.       3. Choose either Tile or Cascade from the menu.  The application should 
  2054.          appear. 
  2055.  
  2056.  
  2057. ΓòÉΓòÉΓòÉ <hidden> "No shows" ΓòÉΓòÉΓòÉ
  2058.  
  2059. Window List with Tile choice selected for Settings notebook. 
  2060.  
  2061.  
  2062. ΓòÉΓòÉΓòÉ 4.14. Opening the parent folder ΓòÉΓòÉΓòÉ
  2063.  
  2064. contributed by Brian Mathewson 
  2065.  
  2066. You can open the parent of a folder from the folder's pulldown menu with an 
  2067. object created from a REXX script and added to the folder's menu: 
  2068.  
  2069.       1. Create the REXX script OPENPAR.CMD. 
  2070.       2. Create an object from OPENPAR.CMD: 
  2071.  
  2072.          a) Open the Templates folder. 
  2073.          b) Drag out a Program template with the right mouse button.  A 
  2074.             settings notebook will open. 
  2075.          c) Enter the location and name of OPENPAR.CMD in the Path and Name 
  2076.             field on the Program page. 
  2077.          d) Choose the Session tab. 
  2078.          e) Place a check next to Start Minimized. 
  2079.          f) Choose the General tab. 
  2080.          g) In the Title field, name the object whatever you wish. 
  2081.          h) Close the settings notebook for the new object. 
  2082.  
  2083.       3. Add the new object to the desired folder's pulldown menu: 
  2084.  
  2085.          a) Open the settings notebook for the desired folder. 
  2086.          b) Choose the Menu tab. 
  2087.          c) If using OS/2 2.1, drag the open parent folder object onto the 
  2088.             lower box labeled "Actions on Menu."  If using OS/2 2.0, you must 
  2089.             use the lower Create Another button to create the new menu entry. 
  2090.          d) Close the settings notebook for the folder. 
  2091.  
  2092.       4. To use the new menu choice, choose it from the folder's pulldown menu. 
  2093.          The parent folder should open. 
  2094.  
  2095.      Note: You can change the command 'OPEN=DEFAULT' to 'OPEN=DETAILS' or 
  2096.      'OPEN=ICON' or 'OPEN=TREE' in OPENPAR.CMD. 
  2097.  
  2098.      Other REXX scripts: 
  2099.  
  2100.      Γûá OPEN.CMD 
  2101.      Γûá BITMAP.CMD 
  2102.      Γûá SETPTR.CMD 
  2103.      Γûá SETFONT.CMD 
  2104.      Γûá CHKDRIVE.CMD 
  2105.      Γûá SHUTDOWN.CMD 
  2106.      Γûá SHREDDER.CMD 
  2107.      Γûá SLEEP.CMD 
  2108.      Γûá LARGE.CMD 
  2109.      Γûá EVAL.CMD 
  2110.      Γûá BIGDOS.CMD 
  2111.      Γûá PUTLONG.CMD 
  2112.  
  2113.  
  2114. ΓòÉΓòÉΓòÉ 4.15. Jumping between windowed sessions ΓòÉΓòÉΓòÉ
  2115.  
  2116. contributed by Lt. Rob Targosz 
  2117.  
  2118. Use Alt-Tab to jump between windowed sessions. 
  2119.  
  2120.  
  2121. ΓòÉΓòÉΓòÉ 4.16. Starting an OS/2 command line from a folder's directory ΓòÉΓòÉΓòÉ
  2122.  
  2123.  
  2124. ΓòÉΓòÉΓòÉ <hidden> Folder's directory command line ΓòÉΓòÉΓòÉ
  2125.  
  2126. Settings notebook for folder's directory command line object. 
  2127.  
  2128.  
  2129. ΓòÉΓòÉΓòÉ <hidden> Folder's directory command line ΓòÉΓòÉΓòÉ
  2130.  
  2131. contributed by Brian Mathewson 
  2132.  
  2133. You can open a command line at a specific folder's directory from the folder's 
  2134. pulldown menu: 
  2135.  
  2136.       1. Open the Templates folder. 
  2137.       2. Using mouse button 2, drag off a Program template.  The Settings 
  2138.          notebook should open. 
  2139.       3. On the Program page, place an asterisk (*) in the Path and File Name 
  2140.          box. 
  2141.       4. In the Parameters box, place the following: 
  2142.          /k "cd %*" 
  2143.       5. Click on the Session tab. 
  2144.       6. Click on the box next to "OS/2 Window." 
  2145.       7. Click on the General tab, name the object to anything you like, then 
  2146.          close the Settings notebook. 
  2147.       8. Add the newly-created object to the menu of any folder. 
  2148.       9. When you click on the new menu item on the folder's pulldown menu, an 
  2149.          OS/2 command prompt window will open in that folder's directory. 
  2150.  
  2151.  
  2152. ΓòÉΓòÉΓòÉ 4.17. Opening windowed command line in the background ΓòÉΓòÉΓòÉ
  2153.  
  2154. To open OS/2 and DOS windowed sessions in the background: 
  2155.  
  2156.       1. Make sure the windowed command line object to be opened is not 
  2157.          highlighted. To do this, you can either click once on the desktop with 
  2158.          mouse button 1, or hold the Ctrl key and click on the object with 
  2159.          mouse button 1.  The object will either have dotted lines around it, 
  2160.          or nothing at all. 
  2161.       2. Hold the Ctrl key while double clicking on the object with mouse 
  2162.          button 1. 
  2163.       3. The windowed command line should open in the background. 
  2164.  
  2165.      Related subject(s): 
  2166.  
  2167.      Γûá Moving a window in the background 
  2168.  
  2169.  
  2170. ΓòÉΓòÉΓòÉ 4.18. Speeding up opening folders II ΓòÉΓòÉΓòÉ
  2171.  
  2172. Folders appear to open faster if folder animation is disabled. 
  2173.  
  2174.       1. Open the System object.  It should be located in the System Setup 
  2175.          folder. 
  2176.       2. Click on the Window tab. 
  2177.       3. Under "Animation," click on the choice "Disabled." 
  2178.       4. Close the System object.  All folders on your system should now open 
  2179.          without animation. 
  2180.  
  2181.      Related subject(s): 
  2182.  
  2183.      Γûá Speeding up opening folders 
  2184.  
  2185.  
  2186. ΓòÉΓòÉΓòÉ 4.19. Resetting Drive Open Behavior ΓòÉΓòÉΓòÉ
  2187.  
  2188. contributed by Craig Stark 
  2189.  
  2190. After setting a default open behavior for a Drives object folder, it can be 
  2191. reset to its default of no behavior as follows (note: this does not apply to 
  2192. OS/2 Warp): 
  2193.  
  2194.       1. Open the Settings notebook for the desired Drive folder object. 
  2195.       2. Choose the Menu tab. 
  2196.       3. Highlight Open in the top listbox. 
  2197.       4. Select Create Another. 
  2198.       5. Create a temporary menu entry. 
  2199.       6. Click on the top Settings button. 
  2200.       7. Under Conditional Cascade choose the temporary menu choice as the 
  2201.          Default Action. 
  2202.       8. Under Actions on Menu, highlight the temporary menu entry, then click 
  2203.          on the lower Delete button. 
  2204.       9. The default open behavior should now be reset. 
  2205.  
  2206.      Related subject(s): 
  2207.  
  2208.      Γûá Changing the default view of a folder 
  2209.  
  2210.  
  2211. ΓòÉΓòÉΓòÉ 4.20. Scrolling in the Background ΓòÉΓòÉΓòÉ
  2212.  
  2213. contributed by Jack Tan 
  2214.  
  2215. To scroll windows in the background, hold the Ctrl key while using the mouse to 
  2216. drag the scrollbar of a window that is in the background. 
  2217.  
  2218.  
  2219. ΓòÉΓòÉΓòÉ 5. Command Line ΓòÉΓòÉΓòÉ
  2220.  
  2221. This section covers tips and tricks which affect command line sessions. 
  2222.  
  2223. Topics in this section: 
  2224.  
  2225.      Γûá Pasting text without the final carriage return 
  2226.      Γûá Clearing the Delete subdirectory 
  2227.      Γûá Searching for file names 
  2228.      Γûá Maximizing windows when opening 
  2229.      Γûá Creating a scroll buffer 
  2230.      Γûá Using OS/2 without the Workplace Shell 
  2231.      Γûá Enhancing speed of text scrolling 
  2232.      Γûá Adding entries to your PATH 
  2233.      Γûá Permanently deleting a file when Undelete is active 
  2234.      Γûá Suppressing echo from *.CMD files 
  2235.      Γûá Getting more out of your command line 
  2236.      Γûá Checking drive status 
  2237.      Γûá Shutting down from a REXX script automatically 
  2238.      Γûá Using multiple arguments at the OS/2 command line 
  2239.      Γûá Using EPM as a customized command shell 
  2240.      Γûá Setting the startup directory for command line objects 
  2241.      Γûá Formatting a diskette with the detach command 
  2242.      Γûá Resizing a command line window permanently 
  2243.      Γûá Making the system "sleep" 
  2244.      Γûá Substituting REPLACE for the COPY command 
  2245.      Γûá "Touching" a file's date and time 
  2246.      Γûá Adding command sessions to the desktop's popup menu 
  2247.      Γûá Opening multiple command line sessions from the desktop menu 
  2248.      Γûá Creating a command line calculator 
  2249.      Γûá Starting a DOS session with maximum free memory 
  2250.      Γûá Using START to avoid the dreaded "clock" 
  2251.      Γûá Coloring OS/2 command line sessions 
  2252.      Γûá Copying fullscreen text to the Clipboard 
  2253.      Γûá Displaying custom DOS settings at the command line 
  2254.      Γûá Using PMREXX as a scrolling command window 
  2255.      Γûá Switching temporarily to a different directory 
  2256.      Γûá Canceling print jobs from the command line 
  2257.  
  2258.  
  2259. ΓòÉΓòÉΓòÉ 5.1. Pasting text without the final carriage return ΓòÉΓòÉΓòÉ
  2260.  
  2261. To paste text after a copy/mark operation without a final carriage return, hold 
  2262. down the Shift key while choosing Paste from the pull-down menu. 
  2263.  
  2264.  
  2265. ΓòÉΓòÉΓòÉ 5.2. Clearing the Delete subdirectory ΓòÉΓòÉΓòÉ
  2266.  
  2267. In order to remove the files from the Delete subdirectory of a drive to regain 
  2268. some drive space, type the following at a command line: 
  2269.  
  2270. UNDELETE <drive>:\* /f /s /a 
  2271.  
  2272. where <drive> is the letter of the drive which contains the Delete subdirectory 
  2273. you wish to clear. 
  2274.  
  2275. Related subject(s): 
  2276.  
  2277.      Γûá Permanently deleting a file when Undelete is active 
  2278.  
  2279.  
  2280. ΓòÉΓòÉΓòÉ 5.3. Searching for file names ΓòÉΓòÉΓòÉ
  2281.  
  2282. To search for a particular file name on a drive, type 
  2283.  
  2284. DIR <drive>:\<file spec> /S 
  2285.  
  2286. where 
  2287.  
  2288. <drive> is the letter of the drive you wish to search 
  2289.  
  2290. <file spec> is the specification of the file you are searching; standard wild 
  2291. cards can be used. 
  2292.  
  2293.  
  2294. ΓòÉΓòÉΓòÉ 5.4. Maximizing windows when opening ΓòÉΓòÉΓòÉ
  2295.  
  2296.  
  2297. ΓòÉΓòÉΓòÉ <hidden> Maximizing windows split window 1 ΓòÉΓòÉΓòÉ
  2298.  
  2299. To make all command line windows open maximized, hold the Shift key while 
  2300. clicking on the maximize button. 
  2301.  
  2302. Note: the above procedure causes anomalous behavior (the window opens in the 
  2303. upper left hand corner, then repositions itself in the middle of the screen) 
  2304. under the 2.11 CSD.  To fix this problem, hold the Shift key while clicking on 
  2305. the restore button in the uppermost right hand corner of the command line 
  2306. window. 
  2307.  
  2308. In some cases, you additionally may have to hold the Shift key while using the 
  2309. mouse to resize the window to its fullest size by dragging the bottom right 
  2310. corner. 
  2311.  
  2312. Related subject(s): 
  2313.  
  2314.      Γûá Resizing a command line window permanently 
  2315.  
  2316.  
  2317. ΓòÉΓòÉΓòÉ <hidden> Maximizing windows ΓòÉΓòÉΓòÉ
  2318.  
  2319. Command window with mouse pointer on Maximize button. 
  2320.  
  2321.  
  2322. ΓòÉΓòÉΓòÉ 5.5. Creating a scroll buffer ΓòÉΓòÉΓòÉ
  2323.  
  2324. from Tim Sipples' FAQ 
  2325.  
  2326. To create a small scroll-back buffer for your command line sessions, type 
  2327.  
  2328. MODE 80,102 
  2329.  
  2330. Related subject(s): 
  2331.  
  2332.      Γûá Resizing a command line window permanently 
  2333.      Γûá Setting video modes in a command line window 
  2334.  
  2335.  
  2336. ΓòÉΓòÉΓòÉ 5.6. Using OS/2 without the Workplace Shell ΓòÉΓòÉΓòÉ
  2337.  
  2338. To use OS/2 without loading the Workplace Shell, replace the following line in 
  2339. your CONFIG.SYS 
  2340.  
  2341. SET RUNWORKPLACE=<drive>:\OS2\PMSHELL.EXE 
  2342.  
  2343. with 
  2344.  
  2345. SET RUNWORKPLACE=<drive>:\OS2\CMD.EXE 
  2346.  
  2347. where <drive> is the letter of the drive on which OS/2 is located. 
  2348.  
  2349. Note that you can always invoke the Workplace Shell by typing PMSHELL at an 
  2350. OS/2 command line.  It can consequently be removed by closing it from the 
  2351. Window List. 
  2352.  
  2353. Related subject(s): 
  2354.  
  2355.      Γûá Booting OS/2 in full-screen mode 
  2356.  
  2357.  
  2358. ΓòÉΓòÉΓòÉ 5.7. Enhancing speed of text scrolling ΓòÉΓòÉΓòÉ
  2359.  
  2360. Tricks for speeding up text display. 
  2361.  
  2362. Related subject(s): 
  2363.  
  2364.      Γûá Changing font size 
  2365.      Γûá Changing Video_ROM_Emulation 
  2366.  
  2367.  
  2368. ΓòÉΓòÉΓòÉ 5.7.1. Changing font size ΓòÉΓòÉΓòÉ
  2369.  
  2370.  
  2371. ΓòÉΓòÉΓòÉ <hidden> Changing font size window 1 ΓòÉΓòÉΓòÉ
  2372.  
  2373. Fonts which are 8 pixels wide generally display faster than those which are not 
  2374. 8 pixels wide.  Choose Font Size from the pull-down menu, then choose a "x 8" 
  2375. type of font size. 
  2376.  
  2377.  
  2378. ΓòÉΓòÉΓòÉ <hidden> Font Size dialog ΓòÉΓòÉΓòÉ
  2379.  
  2380. Font Size dialog box with 14x8 font size highlighted. 
  2381.  
  2382.  
  2383. ΓòÉΓòÉΓòÉ 5.7.2. Changing Video_ROM_Emulation ΓòÉΓòÉΓòÉ
  2384.  
  2385.  
  2386. ΓòÉΓòÉΓòÉ <hidden> VideoROM window 1 ΓòÉΓòÉΓòÉ
  2387.  
  2388. Text scrolling speed can also be enhanced using the Video_ROM_Emulation 
  2389. setting. 
  2390.  
  2391.       1. Select DOS Settings from either the pull-down menu of a DOS session, 
  2392.          or from the Session page of the Settings notebook of a DOS session. 
  2393.       2. Highlight Video_ROM_Emulation. 
  2394.       3. Try the setting both on and off to find out if one setting results in 
  2395.          better performance than the other. 
  2396.  
  2397.  
  2398. ΓòÉΓòÉΓòÉ <hidden> DOS Settings ΓòÉΓòÉΓòÉ
  2399.  
  2400. DOS Settings dialog with Video_ROM_Emulation highlighted. 
  2401.  
  2402.  
  2403. ΓòÉΓòÉΓòÉ 5.8. Adding entries to your PATH ΓòÉΓòÉΓòÉ
  2404.  
  2405. You can add entries to your PATH "on the fly" by using: 
  2406.  
  2407. PATH %PATH%;<drive>:\<path> 
  2408.  
  2409. where 
  2410.  
  2411. <drive> is the drive on which the subdirectory you want to add is located 
  2412.  
  2413. <path> is the path you want to add 
  2414.  
  2415. (This also works for DPATH) 
  2416.  
  2417.  
  2418. ΓòÉΓòÉΓòÉ 5.9. Permanently deleting a file when Undelete is active ΓòÉΓòÉΓòÉ
  2419.  
  2420. If you have Undelete activated (via SET DELDIR in your CONFIG.SYS), but want to 
  2421. delete a file or files so they can't be undeleted, use: 
  2422.  
  2423. DEL <file(s)> /F 
  2424.  
  2425. where <file(s)> is the file specification of the file(s) you want to delete 
  2426.  
  2427. Related subject(s): 
  2428.  
  2429.      Γûá Clearing the Delete subdirectory 
  2430.  
  2431.  
  2432. ΓòÉΓòÉΓòÉ 5.10. Suppressing echo from *.CMD files ΓòÉΓòÉΓòÉ
  2433.  
  2434. If you are using batch files (*.CMD) which do not have ECHO OFF statements, you 
  2435. can also suppress the echo by using the /Q switch: 
  2436.  
  2437. Example:  BATCH.CMD /Q 
  2438.  
  2439.  
  2440. ΓòÉΓòÉΓòÉ 5.11. Getting more out of your command line ΓòÉΓòÉΓòÉ
  2441.  
  2442. Supplement your command line usage by stacking commands with &&, &, ||, and (): 
  2443.  
  2444. contributed by Jack Tan 
  2445.  
  2446.       1. && executes the second program only if the former succeeds, 
  2447.          e.g., RunMe.EXE && RunMeIfFormerSucceeds.EXE 
  2448.  
  2449.       2. || executes the second program if the former doesn't succeed, 
  2450.          e.g., RunMe.EXE || RunMeIfTheFormerDidntSucceed.EXE 
  2451.  
  2452.       3. Combining && and || results in an if..then..else situation, 
  2453.          e.g., If.EXE && Then.EXE || Else.EXE 
  2454.          (Else.EXE doesn't run if and only if both If.EXE and Then.EXE run 
  2455.          successfully) 
  2456.  
  2457.       4. & runs both the first and second programs, 
  2458.          e.g., RunMe.EXE & AndMeToo.EXE 
  2459.  
  2460.       5. () executes the instructions within the parentheses, overriding the 
  2461.          normal order of command precedence, 
  2462.          e.g., DETACH (FORMAT a: /once /v:"hi" && XCOPY c:\x A: /S) & UNZIP 
  2463.          myfile.zip 
  2464.          (the commands in parentheses are operated on by DETACH, then UNZIP 
  2465.          executes) 
  2466.  
  2467.  
  2468. ΓòÉΓòÉΓòÉ 5.12. Checking drive status ΓòÉΓòÉΓòÉ
  2469.  
  2470. inspired by a code snippet by Dick Goran 
  2471.  
  2472. You can check the status of a drive (e.g., if a floppy is inserted into a 
  2473. floppy drive or not) with a REXX script, CHKDRIVE.CMD. 
  2474.  
  2475. The routines in CHKDRIVE.CMD can be incorporated into longer REXX scripts 
  2476. whenever the status of a drive needs to be ascertained. 
  2477.  
  2478. Other REXX scripts: 
  2479.  
  2480.      Γûá OPEN.CMD 
  2481.      Γûá BITMAP.CMD 
  2482.      Γûá SETPTR.CMD 
  2483.      Γûá SETFONT.CMD 
  2484.      Γûá SHUTDOWN.CMD 
  2485.      Γûá SHREDDER.CMD 
  2486.      Γûá SLEEP.CMD 
  2487.      Γûá LARGE.CMD 
  2488.      Γûá EVAL.CMD 
  2489.      Γûá BIGDOS.CMD 
  2490.      Γûá PUTLONG.CMD 
  2491.  
  2492.  
  2493. ΓòÉΓòÉΓòÉ 5.13. Shutting down from a REXX script automatically ΓòÉΓòÉΓòÉ
  2494.  
  2495. by David Matocha 
  2496.  
  2497. You can shutdown your system with a countdown using SHUTDOWN.CMD combined with 
  2498. a scheduling utility and a automatic power-down of the system. 
  2499.  
  2500. Related subject(s): 
  2501.  
  2502.      Γûá Rebooting from the command line 
  2503.      Γûá OPEN.CMD 
  2504.      Γûá BITMAP.CMD 
  2505.      Γûá SETPTR.CMD 
  2506.      Γûá SETFONT.CMD 
  2507.      Γûá CHKDRIVE.CMD 
  2508.      Γûá SHREDDER.CMD 
  2509.      Γûá SLEEP.CMD 
  2510.      Γûá LARGE.CMD 
  2511.      Γûá EVAL.CMD 
  2512.      Γûá BIGDOS.CMD 
  2513.      Γûá PUTLONG.CMD 
  2514.  
  2515.  
  2516. ΓòÉΓòÉΓòÉ 5.14. Using multiple arguments at the OS/2 command line ΓòÉΓòÉΓòÉ
  2517.  
  2518. Unlike DOS, OS/2's command line allows you to use multiple arguments at the 
  2519. command line for the DEL and DIR commands. 
  2520.  
  2521. e.g., 
  2522.  
  2523. DEL <file1> <file2> <file3> 
  2524. DIR <file1> <file2> <file3> 
  2525.  
  2526. where <file1>, <file2>, and <file3> are different filenames (with any 
  2527. appropriate wildcards). 
  2528.  
  2529.  
  2530. ΓòÉΓòÉΓòÉ 5.15. Using EPM as a customized command shell ΓòÉΓòÉΓòÉ
  2531.  
  2532.  
  2533. ΓòÉΓòÉΓòÉ <hidden> EPM shell ΓòÉΓòÉΓòÉ
  2534.  
  2535. contributed by Jack Tan 
  2536.  
  2537. Use the Enhanced Editor (EPM) command SHELL to produce a command line with the 
  2538. following attributes: 
  2539.  
  2540.      Γûá Uses any font recognized by EPM. 
  2541.      Γûá Window sizeable to nearly any size. 
  2542.      Γûá Dynamically resizeable window. 
  2543.      Γûá Can alter text/background colors. 
  2544.      Γûá Scroll buffer spans the entire session. 
  2545.  
  2546.      Unfortunately, programs which take control of the screen (like 
  2547.      screen-based editors) won't run. 
  2548.  
  2549.      Related subject(s): 
  2550.  
  2551.      Γûá Using PMREXX as a scrolling command window 
  2552.  
  2553.  
  2554. ΓòÉΓòÉΓòÉ <hidden> EPM command shell ΓòÉΓòÉΓòÉ
  2555.  
  2556. EPM command shell, using the Helvetica font. 
  2557.  
  2558.  
  2559. ΓòÉΓòÉΓòÉ 5.16. Setting the startup directory for command line objects ΓòÉΓòÉΓòÉ
  2560.  
  2561. contributed by Jack Tan 
  2562.  
  2563. The 'Working Directory' entry in the settings notebook also applies to command 
  2564. lines, such as 'OS/2 Window' and 'DOS Full Screen.'  In these cases, the 
  2565. working directory becomes the starting directory. 
  2566.  
  2567.  
  2568. ΓòÉΓòÉΓòÉ 5.17. Formatting a diskette with the detach command ΓòÉΓòÉΓòÉ
  2569.  
  2570. You can format a diskette in the background from the command line or in a batch 
  2571. file without user intervention with the line: 
  2572.  
  2573. DETACH FORMAT <drive>: /ONCE /V:<label> 
  2574.  
  2575. where <drive> is the drive of the diskette you wish to format, and <label> is 
  2576. the name you wish to use for the volume label. 
  2577.  
  2578.  
  2579. ΓòÉΓòÉΓòÉ 5.18. Resizing a command line window permanently ΓòÉΓòÉΓòÉ
  2580.  
  2581. contributed by Guy Gerard Lemieux 
  2582.  
  2583. You can save the size of any window permanently by holding the Shift key while 
  2584. resizing. 
  2585.  
  2586. Related subject(s): 
  2587.  
  2588.      Γûá Maximizing windows when opening 
  2589.      Γûá Creating a scroll buffer 
  2590.      Γûá Setting video modes in a command line window 
  2591.  
  2592.  
  2593. ΓòÉΓòÉΓòÉ 5.19. Making the system "sleep" ΓòÉΓòÉΓòÉ
  2594.  
  2595. The REXX script SLEEP.CMD will create a pause for a specified length of time. 
  2596.  
  2597. Other REXX scripts: 
  2598.  
  2599.      Γûá OPEN.CMD 
  2600.      Γûá BITMAP.CMD 
  2601.      Γûá SETPTR.CMD 
  2602.      Γûá SETFONT.CMD 
  2603.      Γûá CHKDRIVE.CMD 
  2604.      Γûá SHUTDOWN.CMD 
  2605.      Γûá SHREDDER.CMD 
  2606.      Γûá LARGE.CMD 
  2607.      Γûá EVAL.CMD 
  2608.      Γûá BIGDOS.CMD 
  2609.      Γûá PUTLONG.CMD 
  2610.  
  2611.  
  2612. ΓòÉΓòÉΓòÉ 5.20. Substituting REPLACE for the COPY command ΓòÉΓòÉΓòÉ
  2613.  
  2614. The REPLACE command will only copy files of the same name from the source to 
  2615. the target: 
  2616.  
  2617. REPLACE <source> <target> 
  2618.  
  2619. where <source> is the drive, path, and file specification of the files you want 
  2620. copied; and, <target> is the drive and path to which you want the files copied. 
  2621.  
  2622. However, when REPLACE is used with certain command line switches, it becomes 
  2623. even more useful. 
  2624.  
  2625. Have you ever wished you could only copy files which don't already exist on the 
  2626. target drive?  Try: 
  2627.  
  2628. REPLACE <source> <target> /A 
  2629.  
  2630. Have you wanted to copy only files which have been updated?  Try: 
  2631.  
  2632. REPLACE <source> <target> /U 
  2633.  
  2634.  
  2635. ΓòÉΓòÉΓòÉ 5.21. "Touching" a file's date and time ΓòÉΓòÉΓòÉ
  2636.  
  2637. You can "touch," i.e., change to current date and time, a file or set of files 
  2638. using a form of the COPY command: 
  2639.  
  2640. COPY <filespec> /b + ,, 
  2641.  
  2642. where <filespec> is any valid filename or OS/2 file specification 
  2643.  
  2644.  
  2645. ΓòÉΓòÉΓòÉ 5.22. Adding command sessions to the desktop's popup menu ΓòÉΓòÉΓòÉ
  2646.  
  2647.  
  2648. ΓòÉΓòÉΓòÉ <hidden> Adding command sessions ΓòÉΓòÉΓòÉ
  2649.  
  2650. When adding OS/2 or DOS command line sessions to the desktop's popup menu, 
  2651. prevent the object from passing the desktop's path by putting a percent sign 
  2652. (%) in the Parameters field on the Program page of the command line object's 
  2653. Settings notebook. 
  2654.  
  2655. Related subject(s): 
  2656.  
  2657.      Γûá Adding an "open folder" entry to the desktop's popup menu 
  2658.      Γûá Opening multiple command line sessions from the desktop menu 
  2659.      Γûá Adding INF files to the desktop popup menu 
  2660.  
  2661.  
  2662. ΓòÉΓòÉΓòÉ <hidden> Adding command sessions ΓòÉΓòÉΓòÉ
  2663.  
  2664. Placing a percent sign in the Parameters field. 
  2665.  
  2666.  
  2667. ΓòÉΓòÉΓòÉ 5.23. Opening multiple command line sessions from the desktop menu ΓòÉΓòÉΓòÉ
  2668.  
  2669.  
  2670. ΓòÉΓòÉΓòÉ <hidden> Create new window setting ΓòÉΓòÉΓòÉ
  2671.  
  2672. Desktop Settings notebook with Create New Window highlighted. 
  2673.  
  2674.  
  2675. ΓòÉΓòÉΓòÉ <hidden> Create new window setting ΓòÉΓòÉΓòÉ
  2676.  
  2677. In order to be able to open multiple command line sessions from a command line 
  2678. object that you added to the desktop's popup menu, you must alter the desktop's 
  2679. settings, not those of the command line object: 
  2680.  
  2681.       1. Open the Settings notebook for the desktop. 
  2682.       2. Choose the Window tab. 
  2683.       3. Under Object Open Behavior, select Create New Window. 
  2684.       4. Close the Settings notebook. 
  2685.  
  2686.      Note: changing the Object Open Behavior for the desktop may have 
  2687.      unexpected results when opening other objects from the desktop. 
  2688.  
  2689.      Related subject(s): 
  2690.  
  2691.      Γûá Adding an "open folder" entry to the desktop's popup menu 
  2692.      Γûá Adding command sessions to the desktop's popup menu 
  2693.  
  2694.  
  2695. ΓòÉΓòÉΓòÉ 5.24. Creating a command line calculator ΓòÉΓòÉΓòÉ
  2696.  
  2697. contributed by L. Kuru 
  2698.  
  2699. EVAL.CMD is a REXX script for a simple, yet powerful command line calculator. 
  2700.  
  2701. Several arithmetic functions are available: 
  2702.  
  2703.      Γûá The basic arithmetic functions: 
  2704.  
  2705.          1. +  = Addition 
  2706.          2. -  = Subtraction 
  2707.          3. *  = Multiplication 
  2708.          4. /  = Division 
  2709.          5. ** = Exponential (must be an integer) 
  2710.  
  2711.      Γûá Parentheses, e.g., EVAL (2+3)**2 
  2712.      Γûá Floating point numbers, e.g., EVAL 12.345567e14*1e-50 
  2713.      Γûá Environment variables, 
  2714.        e.g., set pi=3.1415926 
  2715.           set radius=3 
  2716.           EVAL %pi%*%radius%**2 
  2717.  
  2718.      Other REXX scripts: 
  2719.  
  2720.      Γûá OPEN.CMD 
  2721.      Γûá BITMAP.CMD 
  2722.      Γûá SETPTR.CMD 
  2723.      Γûá SETFONT.CMD 
  2724.      Γûá CHKDRIVE.CMD 
  2725.      Γûá SHUTDOWN.CMD 
  2726.      Γûá SHREDDER.CMD 
  2727.      Γûá SLEEP.CMD 
  2728.      Γûá LARGE.CMD 
  2729.      Γûá BIGDOS.CMD 
  2730.      Γûá PUTLONG.CMD 
  2731.  
  2732.  
  2733. ΓòÉΓòÉΓòÉ 5.25. Starting a DOS session with maximum free memory ΓòÉΓòÉΓòÉ
  2734.  
  2735. contributed by Xavier Caballe 
  2736.  
  2737. You can start a DOS session with the maximum free memory using BIGDOS.CMD. 
  2738.  
  2739. Note: if using OS/2 2.1, you may have to change RMSIZE=640 to RMSIZE=639 in 
  2740. your CONFIG.SYS file in order to get this to work. 
  2741.  
  2742. Other REXX scripts: 
  2743.  
  2744.      Γûá OPEN.CMD 
  2745.      Γûá BITMAP.CMD 
  2746.      Γûá SETPTR.CMD 
  2747.      Γûá SETFONT.CMD 
  2748.      Γûá CHKDRIVE.CMD 
  2749.      Γûá SHUTDOWN.CMD 
  2750.      Γûá SHREDDER.CMD 
  2751.      Γûá SLEEP.CMD 
  2752.      Γûá LARGE.CMD 
  2753.      Γûá EVAL.CMD 
  2754.      Γûá PUTLONG.CMD 
  2755.  
  2756.  
  2757. ΓòÉΓòÉΓòÉ 5.26. Using START to avoid the dreaded "clock" ΓòÉΓòÉΓòÉ
  2758.  
  2759. contributed by Jack Tan 
  2760.  
  2761. Use the START command in a fullscreen session to avoid the dreaded clock 
  2762. pointer and continue working at the command line when loading certain 
  2763. queue-hogging applications. 
  2764.  
  2765. e.g, at a fullscreen OS/2 prompt: 
  2766.  
  2767. START /b 123G.EXE 
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ 5.27. Coloring OS/2 command line sessions ΓòÉΓòÉΓòÉ
  2771.  
  2772. contributed by Peder Madsen 
  2773.  
  2774. Tired of the dreaded black-and-white OS/2 command prompt? Create more colorful 
  2775. prompts with the PROMPT command. Try 
  2776.  
  2777. set prompt=$E[37;44m[$P] 
  2778.  
  2779. which gives you white text on blue background. 
  2780.  
  2781. Instead of 37 you can use any number between 30 and 37 to control the 
  2782. foreground color, and instead of 44 you can use any number between 40 and 47 to 
  2783. control the background color. 
  2784.  
  2785. You can also use the PROMPT command in your CONFIG.SYS file to start each OS/2 
  2786. command session with your favorite colors. 
  2787.  
  2788. Note: ANSI must be turned on (this is the default). 
  2789.  
  2790.  
  2791. ΓòÉΓòÉΓòÉ 5.28. Copying fullscreen text to the Clipboard ΓòÉΓòÉΓòÉ
  2792.  
  2793. contributed by Hugo Jimenez-Vazquez 
  2794.  
  2795. To copy fullscreen text to the OS/2 Clipboard: 
  2796.  
  2797.       1. Open the menu for the default printer and change the status of the 
  2798.          jobs to "Hold." 
  2799.       2. Go to the OS/2 fullscreen session you wish to copy, and press the 
  2800.          PrintScreen button on your keyboard. 
  2801.       3. Go back to the OS/2 desktop and open either the Icon or Details view 
  2802.          of the default printer. 
  2803.       4. Double click on the icon of the PrintScreen job.  This will place the 
  2804.          job into the OS/2 System Editor (E.EXE). 
  2805.       5. Copy the desired text from the OS/2 System Editor to the OS/2 
  2806.          Clipboard. 
  2807.       6. Delete the job from the list of the default printer. 
  2808.       7. Change the status of the default printer back to "Release." 
  2809.  
  2810.  
  2811. ΓòÉΓòÉΓòÉ 5.29. Displaying custom DOS settings at the command line ΓòÉΓòÉΓòÉ
  2812.  
  2813.  
  2814. ΓòÉΓòÉΓòÉ <hidden> DOS Settings ΓòÉΓòÉΓòÉ
  2815.  
  2816. contributed by Jack Tan 
  2817.  
  2818. To list custom DOS settings (i.e., the settings which have been changed from 
  2819. the default) at the command line: 
  2820.  
  2821.       1. Open the Settings notebook for the DOS program object. 
  2822.       2. Put an asterisk (*) as the first character in the "Path and File Name" 
  2823.          box on the Program page.  If the filename is already an asterisk, 
  2824.          place some text immediately after the asterisk. 
  2825.       3. The icon will change to that of an OS/2 window after the change. 
  2826.       4. Open the session by clicking on its icon.  This should bring up an 
  2827.          OS/2 command line window. 
  2828.       5. Type "SET" (without quotes) at the command line. 
  2829.       6. This should list the customized DOS settings, as well as some 
  2830.          environmental variables. 
  2831.       7. When done, remove the asterisk or extra text from the Settings 
  2832.          notebook. 
  2833.       8. If the DOS session was fullscreen initially, it may be changed to a 
  2834.          windowed session.  If so, click on the Session tab, and choose "DOS 
  2835.          full screen." 
  2836.  
  2837.  
  2838. ΓòÉΓòÉΓòÉ <hidden> DOS Settings ΓòÉΓòÉΓòÉ
  2839.  
  2840. Use asterisk as first character in "Path and File Name" box. 
  2841.  
  2842.  
  2843. ΓòÉΓòÉΓòÉ <hidden> DOS Settings II ΓòÉΓòÉΓòÉ
  2844.  
  2845. List of custom DOS settings (with cute cat pointer!). 
  2846.  
  2847.  
  2848. ΓòÉΓòÉΓòÉ 5.30. Using PMREXX as a scrolling command window ΓòÉΓòÉΓòÉ
  2849.  
  2850. contributed by Michael Prager 
  2851.  
  2852. Many of us have wished for a scrolling command window, as supplied in many 
  2853. graphical versions of Unix.  This is how to get one. At an OS/2 command line, 
  2854. type: 
  2855.  
  2856. PMREXX REXXTRY.CMD 
  2857.  
  2858. This gives a scrolling Rexx window that executes Rexx commands interactively. 
  2859. Since Rexx passes through all OS/2 commands, it can be used for executing OS/2 
  2860. commands.  Just don't forget that many OS/2 commands will need to be enclosed 
  2861. in quotation marks. 
  2862.  
  2863.      Γûá Using EPM as a customized command shell 
  2864.  
  2865.  
  2866. ΓòÉΓòÉΓòÉ 5.31. Switching temporarily to a different directory ΓòÉΓòÉΓòÉ
  2867.  
  2868. contributed by Jack Tan 
  2869.  
  2870. To switch temporarily to a different directory when at an OS/2 command line, 
  2871. type CMD.EXE at the command line.  Switch to the directory you want, and when 
  2872. you are finished in that directory, simply type EXIT at the prompt. You will be 
  2873. back in your original directory. 
  2874.  
  2875.  
  2876. ΓòÉΓòÉΓòÉ 5.32. Canceling print jobs from the command line ΓòÉΓòÉΓòÉ
  2877.  
  2878. contributed by Jack Tan 
  2879.  
  2880. You can use command line switches to cancel print jobs from the OS/2 command 
  2881. line: 
  2882.  
  2883. PRINT /C 
  2884.  
  2885. will cancel the current print job on the default printing device. 
  2886.  
  2887. PRINT /T 
  2888.  
  2889. will cancel the current print job and the rest of the print queue on the 
  2890. default printing device. 
  2891.  
  2892. If you want to cancel a job on a device other than the default, add the switch 
  2893.  
  2894. /D:device> 
  2895.  
  2896. where <device> is the name of the print device (e.g., LPT2). 
  2897.  
  2898.  
  2899. ΓòÉΓòÉΓòÉ 6. Win-OS/2 ΓòÉΓòÉΓòÉ
  2900.  
  2901. This section covers tips and tricks which affect Win-OS/2. 
  2902.  
  2903. Topics in this section: 
  2904.  
  2905.      Γûá Reducing Win-OS/2 initial load time 
  2906.      Γûá Using Windows screen blanker for OS/2 
  2907.      Γûá Running Win-OS/2 from a DOS image 
  2908.      Γûá Curing "jumpy mouse" 
  2909.      Γûá Pasting between Windows applications 
  2910.      Γûá Starting seamless Windows from the command line 
  2911.      Γûá Using Windows File Manager on your OS/2 desktop 
  2912.      Γûá Fixing seamless Windows on some 2.11 CSD systems 
  2913.      Γûá Adding more LPT ports in Win-OS/2 
  2914.  
  2915.  
  2916. ΓòÉΓòÉΓòÉ 6.1. Reducing Win-OS/2 initial load time ΓòÉΓòÉΓòÉ
  2917.  
  2918. If you are running Windows programs in a common session, the load time for the 
  2919. first Windows program you execute will be much longer than subsequent load 
  2920. times because OS/2 needs to load both a VDM and the Win-OS/2 code.  If you want 
  2921. to speed up loading Windows programs, load a small Windows program, such as the 
  2922. Clock, via your Startup folder.  Your boot time will increase, but when you 
  2923. finally sit down to work, your Windows programs will load more quickly. 
  2924.  
  2925.  
  2926. ΓòÉΓòÉΓòÉ 6.2. Using Windows screen blanker for OS/2 ΓòÉΓòÉΓòÉ
  2927.  
  2928. You can use a Windows screen blanker when running seamless Windows to blank the 
  2929. OS/2 desktop.  However, since Win-OS/2 can sometimes miss keystrokes intended 
  2930. for Presentation Manager, be sure to set the delay of the screen blanker as 
  2931. long as possible. 
  2932.  
  2933.  
  2934. ΓòÉΓòÉΓòÉ 6.3. Running Win-OS/2 from a DOS image ΓòÉΓòÉΓòÉ
  2935.  
  2936. You can run Win-OS/2 from a DOS image, also known as a Virtual Machine Boot 
  2937. (VMB) or specific DOS session: 
  2938.  
  2939.       1. Put a bootable DOS system disk in the A: drive.  Make sure that you 
  2940.          have a simple, DOS-compatible editor on this disk that you can use to 
  2941.          edit the CONFIG.SYS and AUTOEXEC.BAT files. 
  2942.       2. Open an OS/2 command line session. 
  2943.       3. Create a subdirectory to store the boot images. 
  2944.       4. At the OS/2 command line, type VMDISK A: <imagename> where <imagename> 
  2945.          is a name you give to the boot image 
  2946.       5. When the system files have been transferred from A: to your boot image 
  2947.          subdirectory, close the OS/2 command line and remove the diskette from 
  2948.          A:. 
  2949.       6. Open the Templates folder and use the right mouse button to drag a 
  2950.          template from the Program template icon.  The Settings notebook for 
  2951.          the new program object should open. 
  2952.       7. On the Program page, put an asterisk in the Path and Filename box. 
  2953.       8. Click on the Session tab. 
  2954.       9. Select either the DOS Window or DOS Full Screen button. 
  2955.      10. Click on the DOS settings button. 
  2956.      11. Highlight the DOS_STARTUP_DRIVE option. 
  2957.      12. In the Value box, enter the drive, path and name of your boot image. 
  2958.      13. Highlight DOS_FILES. 
  2959.      14. In the Value box, set DOS_FILES to 40. 
  2960.      15. Highlight DPMI_MEMORY_LIMIT. 
  2961.      16. In the Value box, set DPMI_MEMORY_LIMIT to 4 or higher. 
  2962.      17. Click on Save. 
  2963.      18. Close the Settings notebook. 
  2964.      19. Open the newly-created DOS image. 
  2965.      20. While in the DOS image, create/edit the CONFIG.SYS file. 
  2966.      21. The CONFIG.SYS should contain, among other entries, these lines: 
  2967.  
  2968.          a) DEVICE=<drive>:\OS2\MDOS\FSFILTER.SYS -- this line should be near 
  2969.             the top of CONFIG.SYS, and <drive> is the drive on which your OS/2 
  2970.             DOS support files are located. 
  2971.          b) DEVICE=<drive>:\OS2\MDOS\HIMEM.SYS 
  2972.          c) DEVICE=<drive>:\OS2\MDOS\EMM386.SYS 
  2973.  
  2974.      22. Save the CONFIG.SYS and create/edit an AUTOEXEC.BAT file as you wish. 
  2975.      23. Close the session by double clicking on the title bar icon. 
  2976.      24. Reopen the DOS image, and type WIN to start Win-OS/2. 
  2977.  
  2978.  
  2979. ΓòÉΓòÉΓòÉ 6.4. Curing "jumpy mouse" ΓòÉΓòÉΓòÉ
  2980.  
  2981. additions by Hugo Jimenez-Vazquez and Tony Colliver 
  2982.  
  2983. The mouse can often be "jumpy" in fullscreen Win-OS/2 sessions.  Try changing 
  2984. the following, checking after the first change to see if jumpiness has been 
  2985. cured.  If not, try the second change. 
  2986.  
  2987.       1. Open the Settings notebook for the object. 
  2988.       2. Choose the Session tab. 
  2989.       3. Click on DOS Settings. 
  2990.       4. Highlight IDLE_SECONDS. 
  2991.       5. Set IDLE_SECONDS to a value from 1 to 3 (you will have to play with 
  2992.          this setting). 
  2993.       6. Highlight IDLE_SENSITIVITY. 
  2994.       7. Set IDLE_SENSITIVITY to a value from 10 to 100 (you will have to play 
  2995.          with this setting, too). 
  2996.  
  2997.  
  2998. ΓòÉΓòÉΓòÉ 6.5. Pasting between Windows applications ΓòÉΓòÉΓòÉ
  2999.  
  3000. Sometimes data gets lost when you're pasting between Windows applications under 
  3001. Win-OS/2.  If this happens to you, try: 
  3002.  
  3003.       1. Open the Win-OS/2 object's Settings notebook. 
  3004.       2. Choose the Session tab. 
  3005.       3. Click on DOS Settings. 
  3006.       4. Highlight VIDEO_FASTPASTE. 
  3007.       5. Set VIDEO_FASTPASTE to ON. 
  3008.  
  3009.  
  3010. ΓòÉΓòÉΓòÉ 6.6. Starting seamless Windows from the command line ΓòÉΓòÉΓòÉ
  3011.  
  3012. contributed by Jack Tan 
  3013.  
  3014. To start a seamless Windows session from the OS/2 command line: 
  3015.  
  3016. START /WIN <program> 
  3017.  
  3018. where <program> is the name of the Windows program you wish to run. 
  3019.  
  3020.  
  3021. ΓòÉΓòÉΓòÉ 6.7. Using Windows File Manager on your OS/2 desktop ΓòÉΓòÉΓòÉ
  3022.  
  3023. contributed by Walter Dnes 
  3024.  
  3025. If you are familiar with the Windows File Manager, and wish to use it as your 
  3026. main shell on the OS/2 desktop (you must have seamless Windows capability to do 
  3027. this): 
  3028.  
  3029.       1. Open the Templates folder. 
  3030.       2. Use mouse button 2 to drag out a Program template to the location you 
  3031.          wish it to be.  The Settings notebook for the object should open. 
  3032.       3. On the Program page, in the "Path and File Name" box, type 
  3033.  
  3034.          <drive>:\OS2\MDOS\WINOS2\WINFILE.EXE 
  3035.  
  3036.          where <drive> is the drive on which Win-OS/2 is located. 
  3037.       4. Click on the Session page. 
  3038.       5. Select WIN-OS/2 Window. 
  3039.       6. Click on WIN-OS/2 Settings, and make any appropriate changes for a 
  3040.          Windows program (e.g., 64 meg DPMI). 
  3041.       7. Close the Settings notebook. 
  3042.  
  3043.      You should be able to run Windows, DOS, and OS/2 programs from the File 
  3044.      Manager by simply double clicking on the name of the file. 
  3045.  
  3046.      In order to run OS/2 *.CMD and REXX files, edit the "Programs=" line in 
  3047.      the [windows] section of WIN.INI to read: 
  3048.  
  3049.      Programs=com exe bat pif cmd 
  3050.  
  3051.      Associations in the [extensions] section of WIN.INI can also be added to 
  3052.      invoke OS/2 programs.  For example, you can associate *.INF files with 
  3053.      VIEW.EXE as follows: 
  3054.  
  3055.      INF=<drive>:\OS2\VIEW.EXE ^.INF 
  3056.  
  3057.      where <drive> is the drive on which OS/2 resides. 
  3058.  
  3059.  
  3060. ΓòÉΓòÉΓòÉ 6.8. Fixing seamless Windows on some 2.11 CSD systems ΓòÉΓòÉΓòÉ
  3061.  
  3062. Some systems running the 2.11 CSD have trouble running seamless Windows in that 
  3063. double-clicking on a seamless Windows application will cause the icon to be 
  3064. shaded, but nothing runs.  In some cases, this is the result of improper 
  3065. updating of Win-OS/2. 
  3066.  
  3067. Check the file named SERVICE.LOG.  It should be located in the subdirectory 
  3068. <drive>:\OS2\INSTALL.  Read through the listings to find out if either your 
  3069. Win-OS/2 subdirectories or Win-OS/2 video drivers have been updated or not. 
  3070.  
  3071. If not, you may have to run the SERVICE program located on the Service Pak disk 
  3072. 1, and instruct the program to update your Win-OS/2 subdirectories (it will 
  3073. inform you that no updating is needed).  If you are using high resolution video 
  3074. drivers, you may instead only have to install the new video drivers. 
  3075.  
  3076. CAUTION:
  3077. Make alterations to your system at your own risk! 
  3078.  
  3079.  
  3080. ΓòÉΓòÉΓòÉ 6.9. Adding more LPT ports in Win-OS/2 ΓòÉΓòÉΓòÉ
  3081.  
  3082. contributed by Gary Pool 
  3083.  
  3084. Windows has a limit of LPT ports 1 through 3.  If you are on a LAN or are in a 
  3085. situation where you have more than 3 LPT ports, you can add LPT ports by 
  3086. editing your WIN.INI file.  Find the "ports" section of the WIN.INI file. 
  3087. There you will see LPT1.OS2, LPT2.OS2, and LPT3.OS2.  Just manually add 
  3088. LPT4.OS2 through LPT9.OS2 and you will be able to access those printers from 
  3089. Win-OS/2. 
  3090.  
  3091.  
  3092. ΓòÉΓòÉΓòÉ 7. Warp ΓòÉΓòÉΓòÉ
  3093.  
  3094. This section covers tips and tricks for OS/2 Warp. 
  3095.  
  3096.  
  3097. ΓòÉΓòÉΓòÉ 7.1. System ΓòÉΓòÉΓòÉ
  3098.  
  3099. This section covers System tips for OS/2 Warp. 
  3100.  
  3101. Topics in this section: 
  3102.  
  3103.      Γûá Changing printing from polling to interrupt-driven 
  3104.      Γûá Recovering a deleted Launchpad 
  3105.      Γûá Keeping the system running, even through traps 
  3106.      Γûá Setting the swap file 
  3107.      Γûá Creating OS/2 Warp boot diskettes 
  3108.      Γûá Displaying the Recovery Screen 
  3109.      Γûá Displaying Device Drivers on Boot 
  3110.      Γûá Dual Booting Without Confirmation 
  3111.      Γûá Adding Temporary LIBPATH Entries 
  3112.      Γûá Showing the Buildlevel of EXE and DLL Files 
  3113.      Γûá Loading Multiple Configuration Files at Boot 
  3114.  
  3115.  
  3116. ΓòÉΓòÉΓòÉ 7.2. Changing printing from polling to interrupt driven ΓòÉΓòÉΓòÉ
  3117.  
  3118. Warp 
  3119.  
  3120. The default mode of printing under OS/2 Warp is now via polling, rather than 
  3121. interrupt-driven, as was the case in previous OS/2 versions.  Polling can cause 
  3122. problems with printing on some systems, and can use more system resources. 
  3123.  
  3124. To change from the polling mode of printing to interrupt-driven printing, edit 
  3125. the following line in your CONFIG.SYS file: 
  3126.  
  3127. BASEDEV=PRINT01.SYS 
  3128.  
  3129. to 
  3130.  
  3131. BASEDEV=PRINT01.SYS /IRQ 
  3132.  
  3133. Note that using the interrupt-driven mode of printing requires the use of IRQ 
  3134. 7. 
  3135.  
  3136.  
  3137. ΓòÉΓòÉΓòÉ 7.3. Recovering a deleted Launchpad ΓòÉΓòÉΓòÉ
  3138.  
  3139. Warp 
  3140.  
  3141. You can recover a deleted Launchpad by adding the word LAUNCHPAD to your SET 
  3142. AUTOSTART line in your CONFIG.SYS file. 
  3143.  
  3144. Conversely, to prevent the Launchpad from opening at boot, remove the word 
  3145. LAUNCHPAD from your SET AUTOSTART line. 
  3146.  
  3147. Related subject(s): 
  3148.  
  3149.      Γûá Removing the Launchpad permanently 
  3150.  
  3151.  
  3152. ΓòÉΓòÉΓòÉ 7.4. Keeping the system running, even through traps ΓòÉΓòÉΓòÉ
  3153.  
  3154. Warp 
  3155.  
  3156. To keep an unattended system, such as a BBS, running despite a TRAP condition, 
  3157. add the following lines to your CONFIG.SYS file: 
  3158.  
  3159. REIPL=ON 
  3160.  
  3161. Setting REIPL to ON will automatically reboot your system when a TRAP occurs. 
  3162.  
  3163. SUPPRESSPOPUPS=<drive> 
  3164.  
  3165. SUPPRESSPOPUPS will prevent TRAP information from popping up and will log the 
  3166. popup information to a log file.  <drive> is the drive to which the log file 
  3167. POPUPLOG.OS2 is written. 
  3168.  
  3169. DUMPPROCESS=<drive> 
  3170.  
  3171. DUMPPROCESS causes a process dump file PDUMP.* to be written.  <drive> is the 
  3172. drive letter to which PDUMP.* will be written. 
  3173.  
  3174.  
  3175. ΓòÉΓòÉΓòÉ 7.5. Setting the swap file ΓòÉΓòÉΓòÉ
  3176.  
  3177. contributed by Jack Tan 
  3178.  
  3179. Warp 
  3180.  
  3181. The swap file in OS/2 Warp will tend to grow larger than in previous versions 
  3182. of OS/2 because certain DLLs are treated differently.  Therefore, to prevent 
  3183. excess swapping, you may wish to increase the default size of your swap file 
  3184. from the value which you used in previous versions of OS/2. 
  3185.  
  3186. Related subject(s): 
  3187.  
  3188.      Γûá Adjusting your swap file 
  3189.  
  3190.  
  3191. ΓòÉΓòÉΓòÉ 7.6. Creating OS/2 Warp boot diskettes ΓòÉΓòÉΓòÉ
  3192.  
  3193. Warp 
  3194.  
  3195. OS/2 Warp has its own facility to create boot diskettes.  Simply open the 
  3196. System Setup folder and open the Create Utility Diskettes object. 
  3197.  
  3198. Create Utility Diskettes object. 
  3199.  
  3200.  
  3201. ΓòÉΓòÉΓòÉ 7.7. Displaying the Recovery Screen ΓòÉΓòÉΓòÉ
  3202.  
  3203. Warp 
  3204.  
  3205. OS/2 Warp provides a recovery screen during reboot which gives you the 
  3206. following choices: 
  3207.  
  3208.      Γûá Use customized configuration files. 
  3209.  
  3210.      Γûá Boot to a command line. 
  3211.  
  3212.      Γûá Restore previously archived configurations. 
  3213.  
  3214.      Γûá Reset your primary display to VGA mode. 
  3215.  
  3216.      Γûá Boot to the Maintenance Desktop. 
  3217.  
  3218.      To reach the recovery screen: 
  3219.  
  3220.       1. Boot OS/2 Warp. 
  3221.       2. During boot, a small, white box will appear in the upper left hand 
  3222.          corner of the screen. 
  3223.       3. While the white box in onscreen, press the Alt and F1 keys 
  3224.          simultaneously. 
  3225.       4. The Recovery Choices screen will appear. 
  3226.  
  3227.      Related subject(s): 
  3228.  
  3229.      Γûá Loading Multiple Configuration Files at Boot 
  3230.  
  3231.  
  3232. ΓòÉΓòÉΓòÉ 7.8. Displaying Device Drivers on Boot ΓòÉΓòÉΓòÉ
  3233.  
  3234. Warp 
  3235.  
  3236. contributed by Markku Leinio 
  3237.  
  3238. To display device driver names on boot: 
  3239.  
  3240.       1. Boot OS/2 Warp. 
  3241.       2. During boot, a small, white box will appear in the upper left hand 
  3242.          corner of your screen. 
  3243.       3. While the white box is onscreen, press the Alt and F2 keys 
  3244.          simultaneously. 
  3245.       4. Device driver messages will appear on the screen as the drivers are 
  3246.          loaded. 
  3247.  
  3248.  
  3249. ΓòÉΓòÉΓòÉ 7.9. Dual Booting Without Confirmation ΓòÉΓòÉΓòÉ
  3250.  
  3251. Warp 
  3252.  
  3253. contributed by Jack Tan 
  3254.  
  3255. To dual boot between DOS and OS/2 configurations using the command line without 
  3256. a confirmation message, use the /QUIET command line switch.  For example: 
  3257.  
  3258. BOOT /DOS /QUIET 
  3259.  
  3260. or, 
  3261.  
  3262. BOOT /OS2 /QUIET 
  3263.  
  3264.  
  3265. ΓòÉΓòÉΓòÉ 7.10. Adding Temporary LIBPATH Entries ΓòÉΓòÉΓòÉ
  3266.  
  3267. Warp 
  3268.  
  3269. contributed by Ian Hargreaves 
  3270.  
  3271. It is possible to add temporary LIBPATH entries to an OS/2 session using the 
  3272. SET BEGINLIBPATH and SET ENDLIBPATH statements. 
  3273.  
  3274. To add subdirectories to the beginning of the LIBPATH: 
  3275.  
  3276. SET BEGINLIBPATH=<drive>:\<subdir1>;<drive>:\<subdir2>; 
  3277.  
  3278. where 
  3279.  
  3280. <drive> is the drive for the temporary LIBPATH addition(s) <subdir1> and 
  3281. <subdir2> are the subdirectories to add to the LIBPATH 
  3282.  
  3283.  
  3284. ΓòÉΓòÉΓòÉ 7.11. Showing the Buildlevel of EXE and DLL Files ΓòÉΓòÉΓòÉ
  3285.  
  3286. Warp 
  3287.  
  3288. contributed by Jack Tan 
  3289.  
  3290. To display the buildlevel of IBM files, type: 
  3291.  
  3292. BLDLEVEL <filename> 
  3293.  
  3294. where 
  3295.  
  3296. <filename> is an IBM *.EXE or *.DLL file 
  3297.  
  3298.  
  3299. ΓòÉΓòÉΓòÉ 7.12. Loading Multiple Configuration Files at Boot ΓòÉΓòÉΓòÉ
  3300.  
  3301. Warp 
  3302.  
  3303. Sometimes you might need to boot your OS/2 Warp machine under different 
  3304. versions of CONFIG.SYS.  The OS/2 Warp Recovery Screen provides a way to do 
  3305. this. 
  3306.  
  3307. To use multiple CONFIG.SYS files: 
  3308.  
  3309.       1. Make a backup copy of your CONFIG.SYS file and save it in a safe 
  3310.          place. 
  3311.  
  3312.       2. Copy the CONFIG.SYS file to the BOOT subdirectory as follows: 
  3313.  
  3314.          COPY <boot drive>:\CONFIG.SYS <boot drive>:\OS2\BOOT\CONFIG.? 
  3315.  
  3316.          where 
  3317.  
  3318.          <boot drive> is your OS/2 Warp boot drive 
  3319.          ? is replaced by any single letter of the alphabet, except X, x, C, c, 
  3320.          M, m, or V, v. 
  3321.  
  3322.       3. Make any custom modifications you desire to your \OS2\BOOT\CONFIG.? 
  3323.          file. 
  3324.  
  3325.       4. Create a batch file called ALTF1?.CMD in <boot drive>:\OS2\BOOT where 
  3326.          the ? is the same alphabetical character you used for CONFIG.?.  The 
  3327.          contents of the batch file should read: 
  3328.  
  3329.          COPY <boot drive>:\OS2\BOOT\CONFIG.? <boot drive>:\CONFIG.SYS 
  3330.  
  3331.          where 
  3332.  
  3333.          ? corresponds to the alphabetical character you used for CONFIG.?. 
  3334.  
  3335.       5. Change to the <boot drive>:\OS2\BOOT subdirectory. 
  3336.  
  3337.       6. Remove the read-only attribute from the file ALTF1BOT.SCR as follows: 
  3338.  
  3339.          ATTRIB ALTF1BOT.SCR -R 
  3340.  
  3341.       7. Edit and add lines to the end of ALTF1BOT.SCR describing your new 
  3342.          configuration choices.  You should include the alphabetical character 
  3343.          of each choice, the name of the configuration file, and perhaps some 
  3344.          descriptive text.  For example: 
  3345.  
  3346.          A  CONFIG.A  Configuration A 
  3347.          B  CONFIG.B  Configuration B 
  3348.  
  3349.       8. Save ALTF1BOT.SCR. 
  3350.  
  3351.       9. Replace the read-only attribute as follows: 
  3352.  
  3353.          ATTRIB ALTF1BOT.SCR +R 
  3354.  
  3355.      10. Your configuration choices should now show up on the Recovery Screen. 
  3356.  
  3357.      Related subject(s): 
  3358.  
  3359.      Γûá Displaying the Recovery Screen 
  3360.  
  3361.  
  3362. ΓòÉΓòÉΓòÉ 7.13. Workplace Shell ΓòÉΓòÉΓòÉ
  3363.  
  3364. This section covers Workplace Shell tips for OS/2 Warp. 
  3365.  
  3366. Topics in this section: 
  3367.  
  3368.      Γûá Tearing off Launchpad drawer 
  3369.      Γûá Opening the Settings notebook 
  3370.      Γûá Closing the parent folder when opening an object 
  3371.      Γûá Removing the Launchpad permanently 
  3372.      Γûá Editing animated folder icons 
  3373.      Γûá Bringing the Launchpad to the top 
  3374.      Γûá Closing parent folders automatically 
  3375.      Γûá Setting default folder appearance 
  3376.      Γûá Customizing the Launchpad 
  3377.      Γûá Creating Multiple Launchpads 
  3378.      Γûá Using the Pickup Functions 
  3379.      Γûá Bringing the Launchpad to the Top Using the Keyboard 
  3380.      Γûá Opening Parent Folder While Closing Child Folder 
  3381.      Γûá Putting Template Buttons on the Launchpad 
  3382.  
  3383.  
  3384. ΓòÉΓòÉΓòÉ 7.14. Tearing off Launchpad drawer ΓòÉΓòÉΓòÉ
  3385.  
  3386.  
  3387. ΓòÉΓòÉΓòÉ <hidden> Tearoff drawer ΓòÉΓòÉΓòÉ
  3388.  
  3389. Launchpad with drawer "torn off." 
  3390.  
  3391.  
  3392. ΓòÉΓòÉΓòÉ <hidden> Tearoff drawer ΓòÉΓòÉΓòÉ
  3393.  
  3394. Warp 
  3395.  
  3396. You can "tear" off a drawer from the Launchpad and place it where you wish. 
  3397. Note that the drawer will disappear if the Launchpad is minimized or closed. 
  3398.  
  3399.       1. Open the desired drawer. 
  3400.       2. Drag the drawer to the desired location using either mouse button 1 or 
  3401.          mouse button 2. 
  3402.       3. To retrieve the drawer, just close the drawer as usual. 
  3403.  
  3404.  
  3405. ΓòÉΓòÉΓòÉ 7.15. Opening the Settings Notebook ΓòÉΓòÉΓòÉ
  3406.  
  3407. Warp 
  3408.  
  3409. A quick method of opening the Settings notebook for an object: 
  3410.  
  3411.       1. Highlight the desired object. 
  3412.       2. Hold the Alt key. 
  3413.       3. Double click on the object with mouse button 1. 
  3414.  
  3415.      Related subject(s): 
  3416.  
  3417.      Γûá Closing the parent folder when opening an object. 
  3418.      Γûá Opening a windowed command line in the background 
  3419.  
  3420.  
  3421. ΓòÉΓòÉΓòÉ 7.16. Closing the parent folder when opening an object. ΓòÉΓòÉΓòÉ
  3422.  
  3423. Warp 
  3424.  
  3425. You can automatically close the parent folder when opening an object: 
  3426.  
  3427.       1. Highlight the desired object. 
  3428.       2. Hold the Shift key. 
  3429.       3. Double click on the desired object with mouse button 1. 
  3430.  
  3431.      Related subject(s): 
  3432.  
  3433.      Γûá Opening the Settings notebook 
  3434.      Γûá Opening a windowed command line in the background 
  3435.      Γûá Closing parent folders automatically 
  3436.  
  3437.  
  3438. ΓòÉΓòÉΓòÉ 7.17. Removing the Launchpad permanently ΓòÉΓòÉΓòÉ
  3439.  
  3440. Warp 
  3441.  
  3442. To remove the Launchpad permanently from your system, drag the Launchpad object 
  3443. to your Shredder.  Then, remove the word LAUNCHPAD from the SET AUTOSTART line 
  3444. in your CONFIG.SYS file. 
  3445.  
  3446. Related subject(s): 
  3447.  
  3448.      Γûá Recovering a deleted Launchpad 
  3449.  
  3450.  
  3451. ΓòÉΓòÉΓòÉ 7.18. Editing animated folder icons ΓòÉΓòÉΓòÉ
  3452.  
  3453.  
  3454. ΓòÉΓòÉΓòÉ <hidden> Animation icon ΓòÉΓòÉΓòÉ
  3455.  
  3456. Warp 
  3457.  
  3458. To edit the animated folder icon: 
  3459.  
  3460.       1. Open the Settings notebook for the desired folder. 
  3461.       2. Click on the General tab. 
  3462.       3. Click on the right arrow in the lower right corner of the page. 
  3463.       4. Edit and save icon as usual, or change icon as usual. 
  3464.  
  3465.  
  3466. ΓòÉΓòÉΓòÉ <hidden> Animation icon page ΓòÉΓòÉΓòÉ
  3467.  
  3468. Animation icon page of Settings notebook. 
  3469.  
  3470.  
  3471. ΓòÉΓòÉΓòÉ 7.19. Bringing the Launchpad to the top ΓòÉΓòÉΓòÉ
  3472.  
  3473. contributed by Jack Tan 
  3474.  
  3475. Warp 
  3476.  
  3477. You might know that double-clicking with mouse button 1 on the OS/2 desktop 
  3478. will open the Launchpad, but double-clicking on the desktop is also useful for 
  3479. raising the Launchpad to the top if it is covered by other windows. 
  3480.  
  3481. Related subject(s): 
  3482.  
  3483.      Γûá Bringing the Launchpad to the Top Using the Keyboard 
  3484.  
  3485.  
  3486. ΓòÉΓòÉΓòÉ 7.20. Closing parent folders automatically ΓòÉΓòÉΓòÉ
  3487.  
  3488. Warp 
  3489.  
  3490. You can set all or some parent folders to close automatically when opening a 
  3491. subfolder or all objects. 
  3492.  
  3493. To set parent folders to close automatically system-wide: 
  3494.  
  3495.       1. Open the System object.  It should be located in the System Setup 
  3496.          folder. 
  3497.       2. Click on the Window tab. 
  3498.       3. Click once on the right arrow in the lower right hand corner of the 
  3499.          page. 
  3500.       4. Under "Folder Automatic Close," choose either "Subfolders only" or 
  3501.          "All Objects." 
  3502.  
  3503.      Individual folders' automatic closure settings can be changed in the same 
  3504.      manner through their individual Settings notebooks. 
  3505.  
  3506.      Related subject(s): 
  3507.  
  3508.      Γûá Closing the parent folder when opening an object 
  3509.  
  3510.  
  3511. ΓòÉΓòÉΓòÉ 7.21. Setting default folder appearance ΓòÉΓòÉΓòÉ
  3512.  
  3513.  
  3514. ΓòÉΓòÉΓòÉ <hidden> Default appearance page ΓòÉΓòÉΓòÉ
  3515.  
  3516. Page for setting default folder appearance. 
  3517.  
  3518.  
  3519. ΓòÉΓòÉΓòÉ <hidden> Default appearance page ΓòÉΓòÉΓòÉ
  3520.  
  3521. Warp 
  3522.  
  3523. You can determine whether the folders on your system will default to icon, 
  3524. tree, or details view: 
  3525.  
  3526.       1. Open the System object.  It should be located in the System Setup 
  3527.          folder. 
  3528.       2. Click on the Window tab. 
  3529.       3. Click twice on the right arrow in the lower right hand corner of the 
  3530.          page. You should be on page 3 of the Window tab. 
  3531.       4. Select Icon, Tree, or Details. 
  3532.       5. Close the System object. 
  3533.  
  3534.  
  3535. ΓòÉΓòÉΓòÉ 7.22. Customizing the Launchpad ΓòÉΓòÉΓòÉ
  3536.  
  3537.  
  3538. ΓòÉΓòÉΓòÉ <hidden> Launchpad options ΓòÉΓòÉΓòÉ
  3539.  
  3540. Warp 
  3541.  
  3542. The Launchpad can be customized to your taste.: 
  3543.  
  3544.       1. Click on an open area (no buttons) of the Launchpad with mouse button 
  3545.          2 to bring up its popup menu. 
  3546.       2. Choose Settings to open the Settings notebook. 
  3547.       3. Pages 1 and 2 of the Options tab contain several different options 
  3548.          which change the appearance of the Launchpad.  Choose the options you 
  3549.          desire. 
  3550.       4. Close the Settings notebook. 
  3551.  
  3552.  
  3553. ΓòÉΓòÉΓòÉ <hidden> Launchpad options ΓòÉΓòÉΓòÉ
  3554.  
  3555. Second page of Launchpad options. 
  3556.  
  3557.  
  3558. ΓòÉΓòÉΓòÉ 7.23. Creating Multiple Launchpads ΓòÉΓòÉΓòÉ
  3559.  
  3560. contributed by Simon C. Pol 
  3561.  
  3562. Warp 
  3563.  
  3564. You can create multiple Launchpads for better organization of your desktop. To 
  3565. create additional Launchpads: 
  3566.  
  3567.       1. Click on the background of the Launchpad (i.e., not on the buttons) 
  3568.          with mouse button 2 to bring up the popup menu. 
  3569.       2. Choose Copy from the popup menu. 
  3570.       3. Copy the new Launchpad to the Desktop. 
  3571.       4. Rename the new Launchpad to a name other than "LaunchPad" 
  3572.       5. You now have an additional Launchpad that is ready for customization. 
  3573.  
  3574.      Related subject(s): 
  3575.  
  3576.      Γûá Customizing the Launchpad 
  3577.  
  3578.  
  3579. ΓòÉΓòÉΓòÉ 7.24. Using the Pickup Functions ΓòÉΓòÉΓòÉ
  3580.  
  3581. contributed by Martin Lafaix 
  3582.  
  3583. Warp 
  3584.  
  3585. For those who might have trouble dragging objects with a mouse, OS/2 Warp 
  3586. offers the "Pickup" option, which will "pickup" and "hold" an object until it 
  3587. is dropped without having to hold the mouse button down while moving the mouse. 
  3588. To Pickup an object, hold the Alt key and click on the desired object with 
  3589. mouse button 2. 
  3590.  
  3591. After you've picked up the object, you can do one of three things with it: 
  3592.  
  3593.       1. Copy the object - hold the Ctrl key and click with mouse button 2 on 
  3594.          the location to which you want to copy the object 
  3595.       2. Move the object - hold the Shift key and click with mouse button 2 on 
  3596.          the location to which you want to move the object 
  3597.       3. Create a shadow of the object - hold both the Ctrl and Shift keys and 
  3598.          click with mouse button 2 on the location on which you wish to create 
  3599.          the shadow 
  3600.  
  3601.  
  3602. ΓòÉΓòÉΓòÉ 7.25. Bringing the Launchpad to the Top Using the Keyboard ΓòÉΓòÉΓòÉ
  3603.  
  3604. contributed by Jack Tan 
  3605.  
  3606. Warp 
  3607.  
  3608. To raise the Launchpad to the top in any folder, including the Workplace Shell 
  3609. itself: 
  3610.  
  3611.       1. Deselect all objects in the folder by pressing the Ctrl and backslash 
  3612.          (\) keys. 
  3613.       2. Press the Enter key. 
  3614.  
  3615.      Related subject(s): 
  3616.  
  3617.      Γûá Bringing the Launchpad to the top 
  3618.  
  3619.  
  3620. ΓòÉΓòÉΓòÉ 7.26. Opening Parent Folder While Closing Child Folder ΓòÉΓòÉΓòÉ
  3621.  
  3622.  
  3623. ΓòÉΓòÉΓòÉ <hidden> Opening Parent Folder ΓòÉΓòÉΓòÉ
  3624.  
  3625. contributed by Martin S. Hanoian and Martin Lafaix 
  3626.  
  3627. Warp 
  3628.  
  3629. To close a child folder while opening its parent folder, hold the Shift key 
  3630. while choosing the "Open parent" option in the folder's menu. 
  3631.  
  3632.  
  3633. ΓòÉΓòÉΓòÉ <hidden> Open parent option on menu ΓòÉΓòÉΓòÉ
  3634.  
  3635.                Choosing the Open parent option on the folder menu
  3636.  
  3637.  
  3638. ΓòÉΓòÉΓòÉ 7.27. Putting Template Buttons on the Launchpad ΓòÉΓòÉΓòÉ
  3639.  
  3640. contributed by Robert I. Petersen 
  3641.  
  3642. Warp 
  3643.  
  3644. If you use a template frequently, it can be useful to have a template button on 
  3645. the Launchpad.  Unfortunately, when you try to drag a template to the 
  3646. Launchpad, it becomes an object.  The solution is to use the "Pickup" option to 
  3647. place the template onto the Launchpad. 
  3648.  
  3649. Related subject(s): 
  3650.  
  3651.      Γûá Using the Pickup Functions 
  3652.  
  3653.  
  3654. ΓòÉΓòÉΓòÉ 7.28. Preventing Save of Desktop Settings Between Shutdowns ΓòÉΓòÉΓòÉ
  3655.  
  3656.  
  3657. ΓòÉΓòÉΓòÉ <hidden> Don't save desktop ΓòÉΓòÉΓòÉ
  3658.  
  3659. Save Desktop Settings page. 
  3660.  
  3661.  
  3662. ΓòÉΓòÉΓòÉ <hidden> Don't save desktop ΓòÉΓòÉΓòÉ
  3663.  
  3664. Warp 
  3665.  
  3666. To prevent desktop settings from being saved at shutdown in OS/2 Warp: 
  3667.  
  3668.       1. Open the Settings notebook for the desktop. 
  3669.       2. Choose the Desktop tab. 
  3670.       3. Uncheck the "Save Desktop Settings" box. 
  3671.  
  3672.  
  3673. ΓòÉΓòÉΓòÉ 7.29. Command Line ΓòÉΓòÉΓòÉ
  3674.  
  3675. This section covers Command Line tips for OS/2 Warp. 
  3676.  
  3677. Topics in this section: 
  3678.  
  3679.      Γûá Obtaining information about your hardware 
  3680.      Γûá Setting video modes 
  3681.      Γûá Viewing HLP Files Without Opening the Application 
  3682.  
  3683.  
  3684. ΓòÉΓòÉΓòÉ 7.30. Obtaining information about your hardware ΓòÉΓòÉΓòÉ
  3685.  
  3686. Warp 
  3687.  
  3688. To obtain extensive information about your hardware, use the RMVIEW command at 
  3689. an OS/2 command prompt. 
  3690.  
  3691. RMVIEW /? 
  3692.  
  3693. will provide a list of the different command line switches which can be used 
  3694. with RMVIEW. 
  3695.  
  3696.  
  3697. ΓòÉΓòÉΓòÉ 7.31. Setting video modes in a command line window ΓòÉΓòÉΓòÉ
  3698.  
  3699. contributed by Jack Tan 
  3700.  
  3701. Warp 
  3702.  
  3703. In previous versions of OS/2, you could not specify non-standard column and row 
  3704. sizes in windowed command lines.  In OS/2 Warp, non-standard sizes can be 
  3705. specified.  Just use the OS/2 MODE command: 
  3706.  
  3707. MODE <columns>,<rows> 
  3708.  
  3709. where <columns> is the number of columns and <rows> is the number of rows 
  3710.  
  3711. Related subject(s): 
  3712.  
  3713.      Γûá Creating a scroll buffer 
  3714.      Γûá Resizing a command line window permanently 
  3715.  
  3716.  
  3717. ΓòÉΓòÉΓòÉ 7.32. Viewing HLP Files Without Opening the Application ΓòÉΓòÉΓòÉ
  3718.  
  3719. contributed by Jack Tan 
  3720.  
  3721. Warp 
  3722.  
  3723. To view a help file (*.HLP) without having to open the application, use the 
  3724. following command at a command prompt (you must have the Internet support 
  3725. installed): 
  3726.  
  3727. VIEWHELP <filename> 
  3728.  
  3729. where 
  3730.  
  3731. <filename> is an OS/2 help file that ends with the *.HLP extension. 
  3732.  
  3733. Note: Typing VIEWHELP without parameters will give you a list of the available 
  3734. options for the command. 
  3735.  
  3736.  
  3737. ΓòÉΓòÉΓòÉ 7.33. BonusPak ΓòÉΓòÉΓòÉ
  3738.  
  3739. This section covers BonusPak tips for OS/2 Warp. 
  3740.  
  3741. Topics in this section: 
  3742.  
  3743.      Γûá Command Line Options for the WebExplorer 
  3744.      Γûá Pulling Down Menus in WebExplorer Presentation Mode 
  3745.      Γûá Using Different INI Files with the WebExplorer 
  3746.      Γûá Adding Fastkeys to the WebExplorer Quick List 
  3747.      Γûá Setting the Size of the WebExplorer 
  3748.  
  3749.  
  3750. ΓòÉΓòÉΓòÉ 7.34. Command Line Options for the WebExplorer ΓòÉΓòÉΓòÉ
  3751.  
  3752. contributed by Jack Tan 
  3753.  
  3754. Warp 
  3755.  
  3756. To increase the number of threads used by the WebExplorer (up to a maximum of 
  3757. 8), add the following into the Parameters box of the WebExplorer's Settings 
  3758. notebook: 
  3759.  
  3760. -t <threads> 
  3761.  
  3762. where 
  3763.  
  3764. <threads> is the number of threads desired 
  3765.  
  3766. To prevent the WebExplorer from asking for confirmation when it is closed, add: 
  3767.  
  3768. -q 
  3769.  
  3770. to the Parameters box of the WebExplorer's Settings notebook. 
  3771.  
  3772.  
  3773. ΓòÉΓòÉΓòÉ 7.35. Pulling Down Menus in WebExplorer Presentation Mode ΓòÉΓòÉΓòÉ
  3774.  
  3775. contributed by Jack Tan 
  3776.  
  3777. Warp 
  3778.  
  3779. To access the pull-down menus when using the WebExplorer's Presentation Mode, 
  3780. tap the Alt key and use the arrow keys to pull down and move between menus. 
  3781.  
  3782.  
  3783. ΓòÉΓòÉΓòÉ 7.36. Using Different INI Files with the WebExplorer ΓòÉΓòÉΓòÉ
  3784.  
  3785. contributed by Doug Heintzman 
  3786.  
  3787. Warp 
  3788.  
  3789. To avoid bulding up long and unmanageable quick lists in the WebExplorer, 
  3790. create multiple WebExplorer icons and have them call different INI files by 
  3791. adding the following to the Parameters box of the WebExplorer's Settings 
  3792. notebook: 
  3793.  
  3794. -i <drive>:\tcpip\etc\<filename>.ini 
  3795.  
  3796. where 
  3797.  
  3798. <drive> is the drive 
  3799. <filename> is the name of the INI file you wish to use 
  3800.  
  3801. The first time you open the new WebExplorer object(s), you will receive a 
  3802. message that the INI file doesn't exist and and new one will be created. 
  3803.  
  3804.  
  3805. ΓòÉΓòÉΓòÉ 7.37. Adding Fastkeys to the WebExplorer Quick List ΓòÉΓòÉΓòÉ
  3806.  
  3807. contributed by Jack Tan 
  3808.  
  3809. Warp 
  3810.  
  3811. To add Fastkey access to the items on your WebExplorer QuickList: 
  3812.  
  3813.       1. Click on the QuickList button to open the QuickList Document List box. 
  3814.       2. Highlight the entry to which you would like to add the Fastkey. 
  3815.       3. Click on the Edit button. 
  3816.       4. Place a tilde (~) in front of the letter that you would like to use as 
  3817.          the Fastkey. 
  3818.       5. Close the QuickList Document List box. 
  3819.       6. The Fastkey will show up as underlined when you use the QuickList 
  3820.          pulldown menu. 
  3821.  
  3822.  
  3823. ΓòÉΓòÉΓòÉ 7.38. Setting the Size of the WebExplorer ΓòÉΓòÉΓòÉ
  3824.  
  3825. contributed by Christopher Hayashida 
  3826.  
  3827. Warp 
  3828.  
  3829. You can customize the size of the WebExplorer on your screen: 
  3830.  
  3831.       1. Edit the file \TCPIP\ETC\EXPLORE.INI. 
  3832.  
  3833.       2. To set the leftmost edge, add 
  3834.  
  3835.          xleft=<pixels> 
  3836.  
  3837.          where 
  3838.  
  3839.          <pixels> is the number of pixels from the left side of the screen. 
  3840.  
  3841.       3. To set the bottom edge, add 
  3842.  
  3843.          xbottom=<pixels> 
  3844.  
  3845.          where 
  3846.  
  3847.          <pixels> is the number of pixels from the bottom of the screen. 
  3848.  
  3849.       4. To set the width, add 
  3850.  
  3851.          width=<pixels> 
  3852.  
  3853.          where 
  3854.  
  3855.          <pixels> is the number of pixels wide. 
  3856.  
  3857.       5. To set the height, add 
  3858.  
  3859.          height=<pixels> 
  3860.  
  3861.          where 
  3862.  
  3863.          <pixels> is the number of pixels high. 
  3864.  
  3865.  
  3866. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  3867.  
  3868. /* A "poor-man's" CD player for OS/2 using REXX */
  3869. /* Xavier Caballe - December 1993               */
  3870.  
  3871. /* Initialize MCIAPI */
  3872. call RxFuncAdd 'mciRxInit', 'MCIAPI', 'mciRxInit';
  3873. call mciRxInit;
  3874.  
  3875. /* Initialize variables */
  3876. A = 0;
  3877. P = 0;
  3878.  
  3879. /* Open a CD for subsequent manipulation */
  3880. Ordre = 'open cdaudio01 alias cederom wait';
  3881. call Executa;
  3882. say '';
  3883.  
  3884. /* Get the number of tracks on the disk */
  3885. Ordre = 'status cederom number of tracks wait';
  3886. call Executa;
  3887. say 'Songs on the CD disk:' RetStr;
  3888. Cancons = RetStr;
  3889.  
  3890. /* Get the beginning of each track */
  3891. do until A = Cancons
  3892.    A = A + 1;
  3893.    Ordre = 'status cederom position track 'A' wait';
  3894.    call Executa;
  3895.    say 'The track number 'A' begins at:' RetStr;
  3896.    P.A = RetStr;
  3897. end;
  3898.  
  3899. /* Get the last track */
  3900. Ordre = 'status cederom length wait';
  3901. call Executa;
  3902. say 'Last track on the CD disk:' RetStr;
  3903. UltimaPista = RetStr;
  3904.  
  3905. /* Data input */
  3906. Repetir:
  3907. say '';
  3908. say 'Which song do you wish? ';
  3909. pull Numero;
  3910. NumeroPlus1 = Numero + 1;
  3911. CanconsPlus1 = Cancons + 1;
  3912. P.CanconsPlus1 = UltimaPista;
  3913. if Numero < 1 | Numero > Cancons then do;
  3914.    say 'Wrong answer.';
  3915.    Signal Repetir;
  3916. end;
  3917.  
  3918. /* Play the selected song */
  3919. Ordre = 'play cederom from 'P.Numero' to 'P.NumeroPlus1' wait';
  3920. call Executa;
  3921.  
  3922. /* That's all, folks! */
  3923. Ordre = 'close cederom';
  3924. call Executa;
  3925. call mciRxExit;
  3926. exit;
  3927.  
  3928. /* Send a MCI command string to MMPM/2 */
  3929. Executa:
  3930. rc = mciRxSendString(Ordre, 'RetStr', '0', '0');
  3931. if (rc <> 0) then do
  3932.    say "Error No = " Ordre;
  3933.    say 'Code No. = ' rc;
  3934.    GetErr = mciRxGetErrorString(rc, 'ErrStVar');
  3935.    say 'Message  =' ErrStVar;
  3936. end;
  3937. return
  3938.  
  3939.  
  3940. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  3941.  
  3942.  
  3943. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  3944.  
  3945. /* OPEN.CMD - opens a folder */
  3946. call RxFuncAdd "SysSetObjectData", "RexxUtil", "SysSetObjectData"
  3947. folderpath="<drive>:\<path>"
  3948. call SysSetObjectData folderpath, "OPEN=DEFAULT";
  3949. exit
  3950. /* where <drive> is the letter of the drive on which the subdirectory
  3951.                  corresponding to the folder is located
  3952.          <path>  is the path to the subdirectory corresponding to the folder */
  3953.  
  3954.  
  3955. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  3956.  
  3957. /* BITMAP.CMD:  change the desktop bitmap at regular intervals
  3958.    Syntax:  BITMAP.CMD <interval in seconds> [/?]
  3959.    Copyright 1994 Jack Tan
  3960. */
  3961. /* Check the interval value */
  3962.      arg interval
  3963.      if interval=="" | WORDPOS("/?", interval)<>0 then do
  3964.           SAY
  3965.           SAY "   BITMAP.CMD:  randomly change the desktop bitmap at",
  3966.               "periodic intervals"
  3967.           SAY "   Syntax:  BITMAP.CMD <interval in seconds> [/?]"
  3968.           SAY "   <interval> is the interval between bitmap changes,",
  3969.               "in seconds"
  3970.           exit 1
  3971.      end  /* Do */
  3972.      else if DATATYPE(interval, "Whole Number")<>1 then
  3973.           call badNumber interval
  3974.      else if interval<=0 then
  3975.           call badNumber interval
  3976. /* Prepare for the changes */
  3977.      signal on halt name exitProgram
  3978.      BootDrive  = VALUE("BOOTDRIVE", , "OS2ENVIRONMENT")
  3979.      BitmapSpec = BootDrive || "\OS2\BITMAP\*.BMP"
  3980.      call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
  3981.      call SysLoadFuncs
  3982.      SAY "BITMAP.CMD:  Hit Ctrl+Break to exit"
  3983. /* Execute the change */
  3984.      do forever
  3985.           call SysFileTree BitmapSpec, "bitmaps", "FO"
  3986.           if bitmaps.0>0 then do
  3987.                i = RANDOM(1, bitmaps.0)
  3988.                call SysSetObjectData "<WP_DESKTOP>", "BACKGROUND="bitmaps.i";"
  3989.           end  /* Do */
  3990.           call SysSleep interval
  3991.      end /* Do */
  3992. exitProgram:
  3993.      SAY "             Successfully exited"
  3994.      exit 0
  3995. badNumber: procedure
  3996.      SAY "Bad interval value '"ARG(1)"'"
  3997.      exit 2
  3998.  
  3999.  
  4000. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4001.  
  4002. /* SetPtr.CMD -- set/remove a custom mouse pointer.
  4003.    Copyright 11 January 1994 by Jack Tan
  4004.    This is based on Dann Lunsford's SETMOUSE.CMD
  4005.        SETMOUSE.CMD by Dann Lunsford
  4006.        Short procedure to set mouse pointer to contents of specified .PTR file
  4007.        This file is in the public domain, but I'd appreciate it greatly if you
  4008.        would leave this notice in...     Author:  Dann Lunsford
  4009.                                                   Vortex BBS (1:203/726)
  4010.                                                   13-Aug-1993
  4011.    Be careful about adding/removing lines to this script -- it uses the
  4012.    SOURCELINE function, which is source-dependent.
  4013.  
  4014.    Syntax:  SetPtr.CMD <filename> [pointer index] [/X] [/L] [/?]
  4015.  
  4016.       <filename> is the name of the file containing the pointer.
  4017.          If <filename> does not exist, <filename>.PTR is searched.
  4018.  
  4019.       [pointer index] is an optional parameter.  It defaults to 1.
  4020.         Index  Pointer                       Default OS/2 icon
  4021.         ------------------------------------------------------------------
  4022.           1    normal OS/2 pointer           arrow
  4023.           2    text insertion                I-beam
  4024.           3    wait cursor                   clock
  4025.           4    size pointer                  (no icon)
  4026.           5    move pointer                  four-way arrow
  4027.           6    resize (NW to SE)             diagonal double arrow (\)
  4028.           7    resize (NE to SW)             diagonal double arrow (/)
  4029.           8    resize (horizontal)           horizontal double arrow (-)
  4030.           9    resize (vertical)             vertical double arrow (|)
  4031.       /X (optional) indicates that the custom pointer should be removed.
  4032.       /L (optional) lists currently installed pointers.
  4033.       /? (optional) displays this help.
  4034. */
  4035.  
  4036. /* Get arguments */
  4037.    PARSE ARG arguments
  4038.    bigArgs = TRANSLATE(arguments)
  4039. /* Show help */
  4040.    if arguments=='' | WORDPOS("/?", arguments)<>0 then do
  4041.       do i=12 to 33
  4042.          SAY SOURCELINE(i)
  4043.       end /* do */
  4044.       EXIT(1)
  4045.    end  /* Do */
  4046.  /* Setup the REXX function */
  4047.    call RxFuncAdd 'SysIni', 'RexxUtil', 'SysIni'
  4048.    Inifile  = 'User'
  4049.    App      = 'PM_SysPointer'
  4050. /* Show current pointers */
  4051.    if WORDPOS('/L', bigArgs)<>0 then do
  4052.       result = SysIni(Inifile, App, 'All:', 'list')
  4053.       if list.0<1 then
  4054.          SAY "No custom pointers have been set."
  4055.       else do
  4056.          SAY "Current custom pointers:"
  4057.          do  i=1 to 9
  4058.             result = SysIni(Inifile, App, i)
  4059.             if result<>"ERROR:" then
  4060.                SAY "   ("i")" LEFT(pointerDesc(i), 20),
  4061.                   SUBSTR(result, 5, LENGTH(result)-5)
  4062.          end  /* Do */
  4063.       end  /* Do */
  4064.       EXIT(0)
  4065.    end  /* Do */
  4066. /* Look for a '/X' */
  4067.    xPos = WORDPOS('/X', bigArgs)
  4068.    if xPos<>0 then do
  4069.       removePtr = 1
  4070.       arguments = DELWORD(arguments, xPos, 1)
  4071.    end  /* Do */
  4072.    else
  4073.       removePtr = 0
  4074. /* Look for a pointer index */
  4075.    pointerIndex = 1
  4076.    if WORDS(arguments)>1 | removePtr then do
  4077.       /* Last argument should be the pointer index, since any '/X'
  4078.          has already been removed.  If the last argument does not fit
  4079.          the requirements for a pointer index, assume that it is part
  4080.          of the filename.
  4081.       */
  4082.       guessIndex = WORD(arguments, WORDS(arguments))
  4083.       if LENGTH(guessIndex)==1 & VERIFY(guessIndex, '123456789')==0 then do
  4084.          arguments = DELWORD(arguments, WORDS(arguments))
  4085.          pointerIndex = guessIndex
  4086.       end /* Do */
  4087.    end  /* Do */
  4088. /* Set the filename */
  4089.    if removePtr<>1 then do
  4090.       arguments = STRIP(arguments)
  4091.       if SUBSTR(arguments, 1, 1)=='"' then
  4092.          arguments = DELSTR(arguments, 1, 1)
  4093.       if SUBSTR(arguments, LENGTH(arguments))=='"' then
  4094.          arguments = DELSTR(arguments, LENGTH(arguments))
  4095.       filename = STREAM(arguments, 'Command', 'Query Exists')
  4096.       if filename=='' then do
  4097.          /* Try again use .PTR extension */
  4098.          filename = STREAM(arguments".PTR", 'Command', 'Query Exists')
  4099.          if filename=='' then do
  4100.             SAY "Cannot find file:  '"arguments"'"
  4101.             EXIT(3)
  4102.          end  /* Do */
  4103.       end  /* Do */
  4104.    end  /* Do */
  4105. /* Execute the change */
  4106.    if removePtr then
  4107.       result = SysIni(Inifile, App, pointerIndex, 'DELETE:')
  4108.    else do
  4109.       Keyvalue = x2c('01000000')||filename||x2c('00')
  4110.       result = SysIni(Inifile, App, pointerIndex, Keyvalue)
  4111.    end  /* Do */
  4112. /* If the change failed... */
  4113.    if result<>"" then do
  4114.       returnCode = 3
  4115.       if removePtr then
  4116.          SAY "Unable to delete the pointer"
  4117.       else
  4118.          SAY "Unable to set the pointer"
  4119.    end  /* Do */
  4120. /* ... else print 'successful' message */
  4121.    else do
  4122.       returnCode = 0
  4123.       if removePtr then
  4124.          SAY "Pointer successfully removed"
  4125.       else
  4126.          SAY "The new pointer will become effective at the next system boot."
  4127.    end  /* Do */
  4128. /* Give some more information */
  4129.    if removePtr<>1 then
  4130.       SAY "   File    = "filename
  4131.    SAY "   Pointer = "pointerDesc(pointerIndex) "("pointerIndex")"
  4132. EXIT(returnCode)
  4133. pointerDesc: procedure
  4134.    return STRIP(SUBSTR(SOURCELINE(20+ARG(1)), 15, 30))
  4135. /* End of REXX script */
  4136.  
  4137.  
  4138. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4139.  
  4140. /* shredder.cmd - REXX script to recreate the Shredder */
  4141. call RxFuncAdd "SysCreateObject", "RexxUtil", "SysCreateObject"
  4142. class="WPShredder"
  4143. title="Shredder"
  4144. location="<WP_DESKTOP>"
  4145. settings="OBJECTID=<WP_SHRED>;"
  4146. settings=settings||"ICONPOS=90 8;"
  4147.  
  4148. call SysCreateObject class, title, location, settings, "REPLACE"
  4149. exit
  4150.  
  4151.  
  4152. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4153.  
  4154. /* This procedure will change the long name of   */
  4155. /* a file without changing the actual file name. */
  4156. /* Usage:                                        */
  4157. /*    PUTLONG myfil.ext "Long File Name"         */
  4158. /* Written by Bill Parrill                       */
  4159. /* bparrill@vnet.ibm.com                         */
  4160.  
  4161. call RxFuncAdd 'SysPutEA', 'RexxUtil', 'SysPutEA'
  4162.  
  4163. parse arg FileName '"'LongName'"'
  4164.  
  4165. if FileName = '' then DO
  4166.    say 'Please specify a file name!'
  4167.    exit 1
  4168.    end  /* Do */
  4169.  
  4170. if LongName = '' then DO
  4171.    say 'Please specify a long name!'
  4172.    exit 2
  4173.    end  /* Do */
  4174.  
  4175. say 'File Name: 'FileName
  4176. say 'Long Name: 'LongName
  4177. RetCode = SysPutEA(FileName, '.LONGNAME',,
  4178.                    'FDFF'x||D2C(LENGTH(LongName))||'00'x||LongName)
  4179. say 'Return Code: 'RetCode
  4180.  
  4181. EXIT
  4182.  
  4183.  
  4184. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4185.  
  4186. /* program.cmd */
  4187.  
  4188. Call RxFuncAdd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
  4189. Call SysLoadFuncs
  4190.  
  4191. Parse Arg FileName Title
  4192. slash=lastpos("\",FileName);
  4193. if slash=3 then slash=4
  4194.  
  4195. Startup=left(filename,slash-1)
  4196.  
  4197. rc=SysCreateObject("WPProgram",,
  4198.   Title,,
  4199.   "<WP_DESKTOP>",,
  4200.   "EXENAME="FileName";STARTUPDIR="Startup)
  4201.  
  4202.  
  4203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4204.  
  4205. /* setfont.cmd                          */
  4206. /* Usage: SETFONT <font size/type>      */
  4207. /* where <font size/type> is the        */
  4208. /* point size and font desired in the   */
  4209. /* format size.type (e.g., 8.Helv)      */
  4210. call RxFuncAdd "SysIni", "RexxUtil", "SysIni"
  4211. parse arg Font
  4212. IniFile = "USER"
  4213. AppName = "PM_SystemFonts"
  4214. KeyName = "DefaultFont"
  4215. call SysIni IniFile, AppName, KeyName, Font||x2c(0)
  4216. say Result
  4217. exit
  4218.  
  4219.  
  4220. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4221.  
  4222. /* large.cmd - increase cursor size      */
  4223. /* If you want to return to the standard */
  4224. /* mouse cursor, change '1' to '2' in    */
  4225. /* the "val" variable.                   */
  4226.  
  4227. call RxFuncAdd "SysIni", "RexxUtil", "SysIni"
  4228. inifile='USER'
  4229. app='PM_IBMVGA'
  4230. key='CURSOR_SIZE'
  4231. val='1'
  4232. call SysIni inifile, app, key, val
  4233. say Result
  4234. exit
  4235.  
  4236.  
  4237. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4238.  
  4239. /* OpenPar.cmd  4 January 1993
  4240.  * REXX script to open parent folder from a folder's menu in OS/2 2.x
  4241.  * Written by Brian B. Mathewson   bbm@r2d2.eeap.cwru.edu
  4242. */
  4243. Arg drivedir
  4244. parent=filespec(drive,drivedir)filespec(path,drivedir)
  4245. parent=left(parent,length(parent)-1)
  4246. Call RxFuncAdd 'SysSetObjectData', 'RexxUtil', 'SysSetObjectData'
  4247. Call SysSetObjectData parent, 'OPEN=DEFAULT' /* opens parent folder */
  4248. Call SysSetObjectData parent, 'OPEN=DEFAULT' /* brings it to foreground */
  4249. Exit
  4250.  
  4251.  
  4252. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4253.  
  4254. /* CHKDRIVE.CMD - check drive status */
  4255. '@echo off'
  4256. parse arg drive_letter;
  4257. drive_letter=delstr(drive_letter,2);
  4258. if drive_letter=' ' then do
  4259.     say "CHKDRIVE.CMD - check status of drive"
  4260.     say "USAGE: CHKDRIVE.CMD <drive>"
  4261.     say "where <drive> is the letter of drive you wish to check"
  4262.     exit
  4263.     end
  4264. else
  4265. signal ON NOTREADY name NOT_READY
  4266. call STREAM drive_letter || ':*', 'D'
  4267. say "Drive Ready"
  4268. exit
  4269. NOT_READY:
  4270. say "Drive Not Ready"
  4271. return
  4272.  
  4273.  
  4274. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4275.  
  4276. /* REXX script to shutdown the PC in 5 minutes
  4277.    Author: David Matocha            david.matocha@yob.sccsi.com
  4278.    If you make any improvements, please send me a copy.
  4279.    Version 930316.6                            */
  4280. say ' '
  4281. say 'Please close all running applications.'
  4282. say ' '
  4283. say 'WARNING: The Computer will shutdown in 5 minutes!'
  4284. beep(500, 1000);
  4285. CALL SysSleep 14;
  4286. beep(475, 1000);
  4287. CALL SysSleep 14;
  4288. beep(450, 1000);
  4289. CALL SysSleep 14;
  4290. beep(425, 1000);
  4291. CALL SysSleep 14;
  4292. say ' '
  4293. say 'WARNING: The Computer will shutdown in 4 minutes!'
  4294. beep(400, 1000);
  4295. CALL SysSleep 14;
  4296. beep(375, 1000);
  4297. CALL SysSleep 14;
  4298. beep(350, 1000);
  4299. CALL SysSleep 14;
  4300. beep(325, 1000);
  4301. CALL SysSleep 14;
  4302. say ' '
  4303. say 'WARNING: The Computer will shutdown in 3 minutes!'
  4304. beep(300, 1000);
  4305. CALL SysSleep 14;
  4306. beep(275, 1000);
  4307. CALL SysSleep 14;
  4308. beep(250, 1000);
  4309. CALL SysSleep 14;
  4310. beep(225, 1000);
  4311. CALL SysSleep 14;
  4312. say ' '
  4313. say 'WARNING: The Computer will shutdown in 2 minutes!'
  4314. beep(200, 1000);
  4315. CALL SysSleep 14;
  4316. beep(175, 1000);
  4317. CALL SysSleep 14;
  4318. beep(150, 1000);
  4319. CALL SysSleep 14;
  4320. beep(125, 1000);
  4321. CALL SysSleep 14;
  4322. say ' '
  4323. say 'WARNING: The Computer will shutdown in 1 minute!'
  4324. beep(100, 1000);
  4325. CALL SysSleep 14;
  4326. beep(500, 1000);
  4327. CALL SysSleep 14;
  4328. beep(1000, 1000);
  4329. CALL SysSleep 14;
  4330. beep(1500, 1000);
  4331. CALL SysSleep 14;
  4332.  'setboot /T:NO'
  4333.  'setboot /B'
  4334. exit
  4335.  
  4336.  
  4337. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4338.  
  4339. /* sleep.cmd - make system sleep for specified # of seconds */
  4340. /* syntax: sleep <time>, where <time> is time in seconds */
  4341. call RxFuncAdd "SysSleep", "RexxUtil", "SysSleep"
  4342. parse arg sleeptime;
  4343. sleeptime=strip(sleeptime)
  4344. if sleeptime= '' then do
  4345.    say "SLEEP.CMD - make system sleep for specified # of seconds"
  4346.    say "Usage: sleep <time>"
  4347.    say "       where <time> is time in seconds"
  4348.    exit
  4349.    end
  4350. else
  4351. call SysSleep sleeptime
  4352. exit
  4353.  
  4354.  
  4355. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4356.  
  4357. /* eval by L Kuru 25.11.1993 */
  4358. arg params;
  4359. interpret say params;
  4360. exit
  4361.  
  4362.  
  4363. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  4364.  
  4365. /* Start a DOS session with the maximum free memory   */
  4366. /* Xavier Caballe - December 1993                     */
  4367. /* code added to make DOS session open in foreground  */
  4368. /* M.Woo - 6 Jan 94                                   */
  4369.  
  4370. CALL RxFuncAdd SysLoadFuncs, RexxUtil,SysLoadFuncs;
  4371. CALL SysLoadFuncs;
  4372.  
  4373. ClassName='WPProgram';        /* Object type             */
  4374. Title='Big DOS';              /* Window title            */
  4375. Program='EXENAME=*;';         /* Program to run          */
  4376. Location='<WP_NOWHERE>';      /* Object location         */
  4377. Type='PROGTYPE=VDM;';         /* DOS full screen session */
  4378. StartUp='STARTUPDIR=C:\;'     /* Working directory       */
  4379. Objectid='OBJECTID=<BIGDOS>;' /* Object ID               */
  4380.  
  4381. /* Session Settings */
  4382.  
  4383. /* The Video_Mode_Restriction value *MUST BE* fifteen characters long */
  4384.  
  4385. Settings='SET VIDEO_MODE_RESTRICTION=CGA            ;'
  4386. Settings=Settings||'SET DOS_UMB=1;'
  4387. Settings=Settings||'SET DOS_HIGH=1;'
  4388.  
  4389. Open='OPEN=DEFAULT;'       /* Open default view       */
  4390.  
  4391. call SysCreateObject classname, title, location,,
  4392.     program||type||startup||objectid||settings||open, 'REPLACE'
  4393. call SysSetObjectData '<BIGDOS>', open
  4394. Return
  4395.