Fernando González del Cueto
http://www.geocities.com/fcueto/Otros/delayrun_en.htm
Delay Run is a win32 program designed to delay the startup of programs. Why? I've found that sometimes I want to have some programs loaded in memory, but I prefer to have them loaded after some time after Windows has started. Sometimes you want to have control of the computer much sooner.
It is required that the file delayrun.ini is in the same folder as the main executable. I recommend to copy both files (delayrun.exe and delayrun.ini) to your windows directory (usually c:\windows or c:\winnt)
The format of the file is very straighforward:
The first line indicates the number of seconds the program must wait before launching programs.
After the first line, each program must be specified in a group of 3 lines:
Program_file
Program_path
Parameters
For example, a valid delayrun.ini file is
60 | seconds before launching programs |
|
c:\program files\myprog.exe | program 1 (filename) |
|
c:\ | program 1 (path) |
|
program 1 (parameters) |
||
c:\windows\system32\calc.exe | program 2 (filename) |
|
program 2 (path) |
||
program 2 (parameters) |
||
c:\windows\notepad.exe | program 3 (filename) |
|
c:\windows\ | program 3 (path) |
|
c:\my documents\mydoc.txt | program 3 (parameters) |
Note: Please don't forget to add a shortcut to your Windows startup folder to delayrun.exe
I tried to make the program as simple as possible, to speed up the execution. The program is made in Delphi 3.0. If you want to take a look at the code, please contact me.
I appreciate any kind of comments and suggestions.
Fernando González del Cueto
Aviñón # 9,
Col. Villa Verdún,
01810 México DF
MEXICO
fcueto@yahoo.com
fcueto@rice.edu