English Deutsch Français Italiano Particle Software Buy Now


Particle Software
 
Variables
   ..::   About  •  Purchasing  •  Search  •  Contact  • Home   ::..
 
Screenshots
• Sample
Downloads
Resources
• FAQ
• Macros

 
   In large installations its common to use many different versions of Windows. IntraLaunch excels in these non-homogeneous desktop environments by using its built in macros, variables and functions to help dynamically address workstation indifferences. Each Windows version, user, profile, etc. all have different paths and locations for directories such as My Documents, Desktop, Windows, IE History, etc. IntraLaunch 4.1 and higher lets you manage these differences through variables by determining the correct path for the currently logged in user and automatically substituting it at run time when the user clicks a given IntraLaunch object.

   Below is a list of all support variables. Not all variables work in all versions of Windows. All variables are case sensitive. Only the parameters Run, RunParms, DefDir and Log will process variables.

  Example - run notepad.exe specifically held in the workstations Windows directory, open the file sales.txt currently on the users desktop, and make the default working directory for notepad the users My Documents folder, no matter where these actual folders exist IntraLaunch automatically determines the correct paths:

<PARAM NAME="Run" VALUE="%windir%\notepad.exe">
<PARAM NAME="RunParms" VALUE="%desktop%\sales.txt">
<PARAM NAME="DefDir" VALUE="%mydocuments%">

  Example - explore Internet Explorer's cache:

<PARAM NAME="Run" VALUE="%windir%\explorer.exe">
<PARAM NAME="RunParms" VALUE="%internet_cache%">


Variable Description
%yourvariable% Custom Variable
Any variable seen by the shell. IntraLaunch 4.8 and higher required. Can only be used with GetVariable().
%windir% Windows directory
Eg. C:\WINNT
%sysdir% Windows system folder
Eg. C:\WINNT\SYSTEM32
%program_files% Program Files directory
Eg. C:\Program Files
%program_files_common% Program Files\Common Files
Eg. C:\Program Files\Common Files
%desktop% Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%startmenu% Start Menu folder
Eg. C:\Documents and Settings\Administrator\Start Menu
%startmenu_programs% Start Menu - Programs folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs
%startmenu_startup% Start Menu - Startup folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
%mydocuments% My Documents folder
Eg. C:\Documents and Settings\Administrator\My Documents
%favorites% Favorites folder
Eg. C:\Documents and Settings\Administrator\Favorites
%recent% Recently used folder
Eg. C:\Documents and Settings\Administrator\Recent
%sendto% SendTo folder
Eg. C:\Documents and Settings\Administrator\SendTo
%user_desktop% Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%fonts% Fonts folder
Eg. C:\WINNT\Fonts
%templates% Templates folder
Eg. C:\Documents and Settings\Administrator\Templates
%common_startmenu% Common Start Menu folder
Eg. C:\Documents and Settings\All Users\Start Menu
%common_startmenu_programs% Common Start Menu - Programs
Eg. C:\Documents and Settings\All Users\Start Menu\Programs
%common_startmenu_startup% Common Start Menu - Startup
Eg. C:\Documents and Settings\All Users\Start Menu\Programs\Startup
%common_desktop% Common desktop folder
Eg. C:\Documents and Settings\All Users\Desktop
%appdata% Application Data folder
Eg. C:\Documents and Settings\Administrator\Application Data
%internet_cache% IE cache folder
Eg. C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
%cookies% IE Cookies folder
Eg. C:\Documents and Settings\Administrator\Cookies
%history% History folder
Eg. C:\Documents and Settings\Administrator\Local Settings\History
%mypictures% My Pictures folder
Eg. C:\Documents and Settings\Administrator\My Documents\My Pictures
%profile% Users profile root folder
Eg. C:\Documents and Settings\Administrator
%nethood% Network neighborhood
Eg. C:\Documents and Settings\Administrator\NetHood
%common_templates% Common templates folder
Eg. C:\Documents and Settings\All Users\Templates
%common_documents% Common documents folder
Eg. C:\Documents and Settings\All Users\Documents
%username% * Username of user logged in
Eg. Administrator
%userdomain% * Domain user is currently part of
Eg. DOMAINNAME
%tmpfolder% * Path to TMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%tempfolder% * Path to TEMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%systemdrive% * Drive letter of system drive
Eg. C:
%os% * Name of operating system in use
Eg. Windows_NT
%homepath% * Typicall path to root
Eg. \
%homedrive% * Path home drive is on
Eg. C:
%comspec% * Full path to command interperter
Eg. C:\WINNT\system32\cmd.exe
%computername% * Name of workstation
Eg. COMPUTERNAME
  • These new variables are obtained from the workstation's shell. Opening a command prompt and doing a "set" command will show them under WindowsNT and higher. These variables must be explicitly set under Windows95/98/ME in autoexec.bat.



Copyright © 1997-2008 Particle Software - All Rights Reserved
Web services provided by Extreme Hosting