home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / utils / f1291 / cd&run.doc next >
Text File  |  1990-11-15  |  2KB  |  65 lines

  1.  
  2.  
  3.                                 CD & RUN
  4.  
  5.           Start any program under Windows from any startup directory
  6.  
  7.                        Copyright (c) 1990 by Mike Sax
  8.  
  9.                               Free For All
  10.  
  11.  
  12. When you run a program from the Windows Program Manager, the current
  13. directory of that program becomes the directory the program is located
  14. in.  (For example: If you run C:\WINDOWS\WRITE.EXE, the current directory
  15. of Write C:\WINDOWS).  CD & RUN lets you specify a different startup 
  16. directory.  Copy CD&RUN.EXE to your Windows directory, or to another
  17. directory that's in the PATH.
  18.  
  19. Syntax:   CD&RUN <directory> <normal commandline>
  20.  
  21. Examples: CD&RUN C:\LETTERS WRITE NEWLTR.WRI
  22.           CD&RUN C:\PICTURES PBRUSH
  23.  
  24. To add a startup directory to an icon in the program manager:
  25. -------------------------------------------------------------
  26.  
  27. 1.  Select the icon you want to change
  28.  
  29. 2.  Choose "Properties..." in the "File" menu
  30.  
  31. 3.  Put "CD&RUN <directory" before the command line
  32.  
  33. 4.  Press Ok.
  34.  
  35. If you follow the above tests, the application icon in the Program Manager
  36. will change to the CD&RUN icon.  This is because Windows thinks CD&RUN is 
  37. now the real program.
  38.  
  39. To change the icon of a program you modified back to the original:
  40. ------------------------------------------------------------------
  41.  
  42. 1.  Select the icon you want to change
  43.  
  44. 2.  Choose "Properties" in the "File" menu
  45.  
  46. 3.  Press the "Modify icon..." button
  47.  
  48. 4.  Put the original program filename in the edit box
  49.  
  50. 5.  Press Ok
  51.  
  52. Installing CD&RUN on your applications may take some time (about 2 minutes
  53. per application), but you'll save a lot of time changing directories.
  54. You could, for example, create several icons that start your word processor
  55. in different directories (eg: C:\LETTERS, C:\INVOICES and C:\REPORTS).
  56.  
  57. You can also use CD&RUN to start non-windows programs with a startup
  58. directory.
  59.  
  60. Please send comments to:
  61.     Mike Sax                   Compuserve: 75470,1403
  62.     Callaertstraat 91
  63.     B9100 Sint-Niklaas
  64.     Belgium
  65.