home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / start.zip / START.DOC < prev    next >
Text File  |  1994-11-21  |  5KB  |  163 lines

  1.  DOS VDM START - Copyright 1994 by William E. Allen [75300,272] - Team [OS/2]
  2.  
  3.  SHAREWARE
  4.  
  5.    DOS VDM START is SHAREWARE. It is supported on Compuserve: GO OS2SHARE. If
  6.    you find yourself using this program, please register it. Fill out
  7.    START.REG and send it with $10.00 + $1.00 S&H to: William E. Allen P.O. Box
  8.    834 Howell, Michigan 48843. (Overseas orders, please make payments in US
  9.    dollars, and include $5.00 for overseas shipping.)
  10.  
  11.    WHEN YOU REGISTER you will receive a diskette containing the latest version
  12.    of DOS VDM START, and a copy of my PM WINDOW POSition utility, an OS/2
  13.    utility that lets you position and size an active DOS, OS/2 or PM window on
  14.    the screen. When used with DOS VDM START, PM WINDOW POS can be started from
  15.    a DOS BATch file so you can position and size your DOS application as you
  16.    like.
  17.  
  18.  
  19.  OVERVIEW
  20.  
  21.    Did you ever wish you could use the OS/2 START command from a DOS VDM
  22.    session to start another program running in its own separate session? DOS
  23.    VDM START does just that.
  24.  
  25.    Its uses are nearly unlimited. I use it to run EPM as my editor from
  26.    XtreeGold, to start debug sessions from the Borland Pascal IDE, or to test
  27.    a program I'm developing in BP. I use it to start many of the development
  28.    tools I use from the BP IDE tools menu. And I use START in my DOS BATch
  29.    files to start my PM WINDOW POSition program. PM WNDOW POS lets me open DOS
  30.    and OS/2 applications in exactly the position and size I want, every time,
  31.    automatically! (See the SHAREWARE section above for details about my PM
  32.    WINDOW POS utility.)
  33.  
  34.  
  35.  SYNTAX
  36.  
  37.      START ["title"] [/B[G] /DOS[=filename] /F[G] /FS /INH /INV /K /MAX /MIN
  38.            /N /PM /POS=x,y,x1,y1 /WIN] [command ...]
  39.  
  40.  
  41.  LIMITATIONS
  42.  
  43.    Unlike the OS/2 START command, DOS VDM START can not automatically determ- 
  44.    ine the type of application. It will deafult to starting an OS/2 session. 
  45.    If you want to start a DOS application you must use the /DOS parameter. 
  46.  
  47.    The current directory of the new session will be the ROOT of the drive
  48.    that is current when DOS VDM START is executed, NOT the directory where
  49.    the command is issued.
  50.  
  51.    NOTE: The above root directory limitation appears to have been corrected
  52.    with OS/2 Warp 3.0!
  53.  
  54.  
  55.  PARAMETERS
  56.  
  57.    "title"     
  58.  
  59.      The title you will see on the title bar and in the task list. Enclosed 
  60.      the title in double quotes and make sure it's 60 or fewer characters. The 
  61.      program name is the default title. 
  62.  
  63.    /B[G]       
  64.  
  65.      Starts the session in the background.
  66.  
  67.    /DOS      
  68.  
  69.      Starts a DOS session in the foreground.
  70.  
  71.    /DOS=filename
  72.  
  73.      Starts a DOS session in the foreground using the DOS settings specified 
  74.      in a simple text file that you create. Each line in your file has the 
  75.      form KEYWORD=VALUE where the keywords and values are the same as those 
  76.      found in the DOS Session Settings notebook. Each line should begin in 
  77.      column 1 and have no extra spaces added. Here is an example that sets the 
  78.      amount of DPMI memory limit to 0, the EMS memory limit to 0 and specifies 
  79.      the session should be able to run in the background. Please note that you 
  80.      should use 1 or 0 for settings that require a Yes or No answer.
  81.  
  82.        DPMI_MEMORY_LIMIT=0
  83.        EMS_MEMORY_LIMIT=0
  84.        DOS_BACKGROUND_EXECUTION=1
  85.  
  86.      DOS VDM START uses defaults for the settings you do not include in your 
  87.      text file. 
  88.  
  89.    /F[G]       
  90.  
  91.      Starts a foreground session. The session will be started in the back- 
  92.      ground, if you do not include /DOS, /FS, /WIN, /PM, or /FG. 
  93.  
  94.    /FS
  95.    
  96.      Starts the session full-screen, in the foreground.
  97.  
  98.    /INH
  99.    
  100.      Inherits the environment variables from the SET= statements in your 
  101.      CONFIG.SYS file. The default is to use the environment from the current 
  102.      OS/2 session. 
  103.  
  104.    /INV
  105.    
  106.      Invisible starts the session with no icon. It is accessible only via the 
  107.      Task List. 
  108.  
  109.    /K
  110.  
  111.      Keeps the command processor session when the command or peogram is 
  112.      finished. Use the EXIT command to close the session.
  113.  
  114.    /MAX
  115.    
  116.      Starts the session in its maximized state.
  117.  
  118.    /MIN        
  119.    
  120.      Starts the session in its minimized state.
  121.  
  122.    /N
  123.  
  124.      Starts the program directly without using a command processor. You can 
  125.      not use this option for internal commands like COPY or DIR.
  126.  
  127.    /PM
  128.    
  129.      Starts a foreground PM session without using a command processor.
  130.  
  131.    /POS x,y,x1,y1
  132.    
  133.      Starts the session at the starting position x,y, and with the window size 
  134.      x1,y1. Numbers are in pels. The lower left corner of the screen is 0,0.
  135.  
  136.    /WIN
  137.    
  138.      Starts the session in a window in the foreground.
  139.  
  140.      
  141.  EXAMPLES 
  142.  
  143.    Start an OS/2 full-screen session in the background:
  144.  
  145.      start
  146.  
  147.    Start a full-screen OS/2 session in the foreground:
  148.  
  149.      start /fs
  150.        or
  151.      start /fg
  152.   
  153.    Start a DOS VDM session in a window:
  154.  
  155.      start /dos /win
  156.   
  157.    Start XCOPY in a minimized background window session, with the title
  158.    "XCOPYing files...":
  159.  
  160.      start "XCOPYing files..." /bg /min /win xcopy c:\*.* a:\
  161.  
  162.                                                                       4B15110
  163.