Config file

Config file uses the following format:

[Application Name] ; This string identifies the application. It must be unique within the config file.
App=Specifies the full pathname of the application you want to launch. Environment variables are allowed (%windir%, %systemdir%, ...).
Delay=delay in seconds to wait before launching the application.
Param=Specifies the parameters with which you want to run the application.
Disabled=Specifies if this entry must be temporary disabled.
Show=Value that specifies how the application is to be displayed when it is launched.
Possible values are:

  • 0: Hides the windows
  • 1: Show normal (default)
  • 2: Show minimized
  • 3: Show maximized
  • 4: Show normal without activating it
  • 7: Show minimized without activating it

Example

This config file will direct launchat.exe to run notepad.exe 5 seconds after starting launchat.exe, Notepad will open a text file "\Sample Text File located in ProgramFiles opened via LaunchAt.txt".

;
; LaunchAt.ini - Configuration file for LaunchAt.exe (http://debrock.org/launchat/)
; LaunchAt.exe parses this file then launches listed programs, following a time-line
; defined by all the "Delay=" values.
;
; Syntax for this conf file:
;
; Comments begin with a semi-colon (;)
; Environment variables are expanded: %SystemRoot% will be expanded as C:\WINDOWS
;
; [Notepad] ;Each app description starts with a section definition. It must be unique within this conf file.
;
; App=Full path and name of the application to be launched. LaunchAt.exe takes care of your PATH env var.,
;
; Param=[optional command-line parameters] ; Put here any options needed by the application to be launched.
;
; Delay=delay before launch, in seconds. 
;
; Disabled=0/1 used to temporary disabling this topic
;
; Show=How to display the window. Possible values are
;	0: Hides the windows
;	1: Show normal (default)
;	2: Show minimized
;	3: Show maximized
;	4: Show normal without activating it
;	7: Show minimized without activating it
;
; Example:
;[Notepad]
;App=notepad.exe
;Param="\Sample Text File opened via LaunchAt.txt" ; Need quotes, because of spaces in file name.
;Delay=0 ; seconds after startup of LaunchAt.

[Notepad with environment var]
App=%SystemRoot%\notepad.exe
Param="%ProgramFiles%\Sample Text File located in ProgramFiles opened via LaunchAt.txt"
Delay=5 ; seconds after startup of LaunchAt.
Show=2 ; minimized

Finding App

Launchat.exe searches for a matching file in the following directories in the following sequence:

  1. The directory from which the application loaded.
  2. The current directory.
  3. The Windows system directory. Typically, this is %windir%\system32 (windows NT/2K/XP/2K3) or %windir%\system (windows 9x)
  4. The Windows directory.
  5. The directories that are listed in the PATH environment variable.
If an application to be launched cannot be found, no warning is displayed unless you set the "-v" flag (see Syntax)