home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osdavruq.txt < prev    next >
Text File  |  1997-01-24  |  7KB  |  192 lines

  1. OSDAVRUQ - GENERAL QUESTIONS AND ANSWERS ABOUT RUNNING DOS 
  2. APPLICATIONS IN OS/2
  3. 08/16/96
  4. ======================================================================
  5. General Questions and Answers about Running DOS Applications in OS/2
  6. ======================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. --------------------------------------------------------------
  10.  
  11. DESCRIPTION
  12.  
  13. Running DOS Applications in OS/2.
  14.  
  15. RESOLUTION
  16.  
  17. Question 1
  18. -----------
  19. I am trying to run a DOS program in OS/2. I keep getting the message: 
  20. "Incorrect DOS version."  How can I resolve this problem?
  21.  
  22.  You need to include the name of your program in the DOS Version Table. 
  23.  To do this, modify the DOS_VERSION setting for the program object 
  24.  being used:
  25.  
  26.  1. Click on the DOS Window or DOS Full Screen program object being 
  27.     used with mouse button 2 to display the pop-up menu.
  28.  
  29.  2. Select Settings to open the Settings notebook. 
  30.  
  31.  3. Select the Session tab.
  32.  
  33.  4. Select the DOS Settings... push button.
  34.  
  35.  5. Click on Ok.
  36.  
  37.  6. Highlight DOS_VERSION in the list of DOS Settings. Include the name 
  38.     of your program at the bottom of the value list by following the 
  39.     instructions on the help panel that appears when you highlight 
  40.     DOS_VERSION. For more information on program object settings, 
  41.     refer to pages 185 and 201 of the OS/2 guide: "Using the Operating 
  42.     System."
  43.  
  44. Question 2
  45. ----------
  46. I'm having problems migrating a DOS application to my OS/2 desktop.
  47. Where can I find more information on how to do this?
  48.  
  49.  There are a number of ways to migrate DOS applications to the OS/2 
  50.  desktop. The most straight forward method to migrate any application 
  51.  is to use the Migrate Applications utility from the System Setup 
  52.  folder. To use the Migrate Applications utility, double-click on the 
  53.  OS/2 System icon from the OS/2 desktop. Then, double-click on the 
  54.  System Setup icon in the OS/2 System window. Finally, double-click 
  55.  on the Migrate Applications icon in the System Setup window. To 
  56.  migrate only DOS programs, uncheck the OS/2 and Windows programs 
  57.  selections. Click on the FIND button to search for all DOS
  58.  programs in the highlighted drives and follow the instructions on the
  59.  migration panel that appears.  See page 69 of the OS/2 guide: Using the
  60.  Operating System. 
  61.  
  62. Question 3
  63. ----------
  64. How do I do a proper selective installation of DOS and WIN-OS/2 support?
  65.  
  66.  Steps to a proper selective install of DOS and WIN-OS/2 support:
  67.  
  68.  Note: Do not use the Selective Uninstall utility to remove OS/2 DOS 
  69.        and WIN-OS/2 Support.
  70.  
  71.  1. Delete everything in the OS2\MDOS directory, including everything 
  72.     in the WINOS2 directory, which is under the OS2\MDOS directory.
  73.  
  74.  2. Go to Selective Install.
  75.  
  76.  3. Select DOS and WIN-OS/2 Support.
  77.  
  78. Question 4 
  79. ----------
  80. DOS sessions do not start. There is no error message; just a blinking 
  81. cursor.
  82.  
  83.  Note: You might first notice a problem with a WIN-OS/2 session; always 
  84.        check to see if DOS sessions start.
  85.  
  86.  Things to check:
  87.  
  88.  1. Open the Settings notebook for the DOS program object; on the 
  89.     Session page, press the DOS Settings button, then Ok. 
  90.  
  91.     a. Make sure the DOS_DEVICE statement is blank.
  92.  
  93.     b. Check DOS_AUTOEXEC; the default is C:\AUTOEXEC.BAT. If you are 
  94.        using a different file, take a look at it and make sure there's nothing 
  95.        out of the ordinary.
  96.  
  97.  2. Video; try resetting to VGA mode. Use Selective Install to reset to 
  98.     VGA (do not use Alt-F1 and the recovery options, as it doesn't 
  99.     effect DOS and WIN-OS/2); then verify that the CONFIG.SYS statement
  100.     is changed to:
  101.  
  102.     DEVICE=C:\OS2\MDOS\VVGA.SYS
  103.  
  104.     If it still references VSVGA.SYS, change it to VVGA.SYS.
  105.  
  106. Question 5
  107. ----------
  108. How to save and load DOS Settings under OS/2 Warp
  109.  
  110.  Saving DOS Settings
  111.  --------------------
  112.  To save customized DOS settings to a disk file under OS/2 Warp:
  113.  
  114.  1. Open the OS/2 System folder.
  115.  
  116.  2. Click on either DOS Window or DOS Full Screen with mouse
  117.     button 2 to display the pop-up menu.
  118.  
  119.  3. Select Settings to open the Settings notebook. 
  120.  
  121.  4. Select the Session tab.
  122.  
  123.  5. Select the DOS Settings... push button.
  124.  
  125.  6. Select OK.
  126.  
  127.  7. Select Print.
  128.  
  129.  8. Select Encoded File.
  130.  
  131.  9. Type the file name in which to save the DOS settings.
  132.  
  133.  10. Select OK.
  134.  
  135.  11. Press Cancel and close any open windows to return to the OS/2
  136.      Desktop.
  137.  
  138.  The file created in steps 9 and 10 can be distributed. Use the 
  139.  instructions in the next section to put the DOS settings into a new,
  140.  unconfigured, DOS program object.
  141.  
  142.  Loading DOS Settings
  143.  ---------------------
  144.  To load customized DOS settings under OS/2 Warp:
  145.  
  146.  1. Open the OS/2 System folder.
  147.  
  148.  2. Click on either DOS Window or DOS Full Screen with mouse
  149.     button 2 to display the pop-up menu.
  150.  
  151.  3. Select Settings to open the Settings notebook. 
  152.  
  153.  4. Select the Session tab.
  154.  
  155.  5. Select the DOS Settings... push button.
  156.  
  157.  6. Select OK.
  158.  
  159.  7. Select Load.
  160.  
  161.  8. Type the encoded file path and file name in the text-entry
  162.     field.
  163.  
  164.  9. Select Load.
  165.  
  166.  10. When the DOS Settings window reappears, select Save to
  167.      permanently apply the DOS settings to the program object
  168.      being configured.
  169.  
  170.  11. Close the DOS Settings window.
  171.  
  172.  12. Close the Settings notebook window.
  173.      The DOS application program object is ready for use.
  174.  
  175.  Note: The DOS settings file created in the first section cannot
  176.        be used by the Add Programs utility program that comes
  177.        with OS/2 Warp. Third-party programs can convert the
  178.        encoded file into an acceptable format that can be used by Add
  179.        Programs. These third-party utility programs can convert
  180.        the encoded file into a format with the DATABASE.TXT file
  181.        that comes with OS/2 Warp.
  182. ______________________________________________________________________
  183. IBM disclaims all warranties, whether express or implied, including 
  184. without limitation, warranties of fitness and merchantability with 
  185. respect to the information in this document. By furnishing this 
  186. document, IBM grants no licenses to any related patents or copyrights.  
  187. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  188. or brand names referenced in this document are the property of their 
  189. respective owners. Consult your product manuals for complete trademark 
  190. information. 
  191.  
  192.