Launch - Bart's program launcher
Version 1.2
Created: Dec 22, 2002
Updated: Dec 22, 2002
Introduction
Launch.exe is a small, smart and dynamic program launcher. The command-line to
execute is dynamic and can contain tokens for program directory, program
drive, windows directory, hostname, username, platform, version and build.
Very usefull in situations where locations are somewhat "unknown"
like when you run programs (with arguments) from CD on some workstation in
your network.
Installation
Launch is a command line utility, you can use the following parameters:
| Launch.exe usage |
Bart Launch v1.2, Dec 2002
Copyright (c) 2002 Bart Lagerweij. All rights reserved.
This program is free Software; you can redistribute it under the terms of
the NU2 License (see nu2lic.txt or http://www.nu2.nu/license/).
A small, smart and dynamic program launcher. The command-line to execute is
dynamic and can contain tokens for program directory, program drive, windows
directory, hostname, username, platform, version and build.
Usage: launch [-v] [-d] [<section>]
-v Verbose mode (talk more)
-d Debug mode
section Name of the INI section to use.
Default section name is "default"
See sample.ini (from original archive package) for more info.
Special thanks goto Jeroen K. for thinking along with me...
|
| Launch sample file (sample.ini) |
;
; LAUNCH.INI sample:
;
; [section-name]
; program=<command-line>
; show=nn
;
; program: the command line to execute it can contain dynamic "tokens".
; show: This number specifies how the window is to be shown
; Default is 1 "normal".
;
; Example to start "write.exe" maximized.
; program=@wdir@\system32\write.exe
; show=3
;
; Example to start total commander from CD-Rom with correct config files.
; and with the left and right panel set to the program's drive root.
; launch.exe will be in the same directory as totalcmd.exe
; program=@pdir@\totalcmd.exe /i=@pdir@\wincmd.ini /f=@pdir@\wcx_ftp.ini /l=@pdrive@\ /r=@pdrive@\
;
; Supported command-line tokens are:
; @pdir@ Returns the launch.exe's program directory, like "d:\totalcmd"
; @pdrive@ Returns the launch.exe's program drive, like "d:"
; @wdir@ Returns the windows directory, like "d:\winnt"
; @host@ Returns computer/host name
; @user@ Returns username
; @platform@ Returns platform, "Win32", "Win9x", or "WinNT"
; @ver@ Returns OS version, Windows NT 4.0 would return "4.0"
; @build@ Returns build number
; @sp@ Returns service pack string, like "Service Pack 6"
;
; You can easy test token output using the verbose (-v) or debug (-d) option.
;
; Number values for "show":
; 0 hide
; 1 normal
; 2 showminimized
; 3 maximize
; 4 shownoactivate
; 5 show
; 6 minimize
; 7 showminnoactive
; 8 showna
; 9 restore
; 10 showdefault
; 11 forceminimize
;
[default]
program=calc.exe
show=3
|
Download
For download please use the following link:
Launch v1.2 (20KB).