home *** CD-ROM | disk | FTP | other *** search
/ Windows NT Super Tune-Up Kit / PIE-WindowsNTSuperTuneUpKit-1997.iso / DESKTOP / LKSTART / README.TXT < prev   
Text File  |  1994-05-26  |  3KB  |  81 lines

  1.  Start program V 1.0 by Larry Kahn (C) 1994 all rights reserved.
  2.  ---------------------------------------------------------------
  3.  
  4.  This program is designed to be used in place of the stock 
  5.  Windows NT start command.  It will start up a process HIDDEN
  6.  that is in an invisible window that you will not see.
  7.  It works for win32 gui and console apps, dos apps and some win16
  8.  applications that are well behaved (i.e. do not ignore the initial
  9.  SHOW WINDOW settings).
  10.  
  11.  SYNTAX: lkstart [-w] appname [parameters]
  12.  
  13.  WHERE: appname is the application name to run, and parameters are optional
  14.  -w specified wait or do not return until the application terminates.
  15.  the default is to NOT wait and return immediately after starting the 
  16.  application.
  17.  
  18.  EXAMPLES: 
  19.  lkstart pkzip test.zip *.*
  20.  lkstart -w notepad
  21.  
  22.  NOTES: 
  23.  DOS commands like redirection '>' or dir will not work as the with the
  24.  regular start command.  Also some apps such as word do not *behave*
  25.  correctly and will not start hidden.
  26.  
  27.  If the command is not found in the path a complete path can be specified.
  28.  If the startup command fails a window will pop-up to display an error message.
  29.  This application only works under NT version 3.5 (Daytona) or later since it 
  30.  starts up each appliation in a separate NTVDM (if win16 or dos apps).
  31.  You will see an intial flash as the console window is created and then hidden.
  32.  
  33.  If the app opens up other windows on its own they will not be hidden.  
  34.  A console window will pop up and an error message will appear if the app does 
  35.  not start up correctly.  This window will show the command string and the
  36.  error message from GetLastError.  If you have vc++ you can look up 
  37.  this error number in the winerror.h file.
  38.  
  39.    
  40.  
  41.  BACKGROUND:
  42.  This program was created because there were complaints of no create 
  43.  and detach command i.e. run in the background like unix (i.e. prog &)
  44.  
  45.  
  46.  WARNINGS:
  47.  
  48.  1. As with the start command redirection i.e. > does not work correctly.
  49.     ie "start type name.c > save." does not work.
  50.  2. If your application creates an error message that is written to stdout,
  51.     stderror or the apps main gui window you will never see it since the
  52.     windows are hidden. In fact if the app outputs an error message and 
  53.     leaves the window up the process will never terminate since the window
  54.     handlers are still running. 
  55.  3. Processes do not appear in the task manager list of NT.  The only way
  56.     to see the process created is to look in qslice or process viewer both
  57.     available in the windows NT resource kit, or the NT sdk.  Also the only
  58.     way to terminate a process created with lkstart is to use the 
  59.     process viewer "kill task" option. 
  60.  4. Dos commands such as dir do not work, only commands that are executables
  61.     such as .com or .exe programs.  Also do not specify the .com or .exe
  62.     as the program will figure this out.
  63.  5. This program only works with NT 3.5 (Daytona) or later as it starts
  64.     each win16 or dos app in a separate NTVDM.
  65.  
  66.     Good luck
  67.  
  68.     If anyone wants the source code for other platforms or wishes to
  69.         discuss this program or report problems I can be reached at 
  70.         910-630-0412 or 71534,600, or kahn@drcoffsite.com
  71.  
  72.     Note: I am not affiliated with microsoft in any way.
  73.  
  74.     Donations will be accepted at 
  75.  
  76.         L. Kahn
  77.         6550 Countryside Drive
  78.     Fayetteville, NC 28311
  79.  
  80.  
  81.