kko's K-Meleon stuff

Environment Variables with K-Meleon's „Exec” Macro Command

You are here: kko's K-Meleon stuff - Macros - Env Exec

K-Meleon's Macro Language offers the "exec" statement to execute external applications out of macros. But this statement is unable to execute command lines containing environment variables. Especially modern NT-based versions of the Windows OS offer a variety of usefull environment variables. These are normally used to address special directories independently of drive letters and/or (localized) directory names.

Following, I want to describe a workaround to use environment variables with K-Meleon's "Exec" macro command.

Windows Script Host 1.0 (or better) required!

WSH is part of Microsoft Internet Explorer 5.0 and newer. Latest version of WSH is available in the Download Section of Microsoft's Scripting Homepage.

http://home.arcor.de/cool.mckluus/software/kmeleon/macros/EnvExec.html lastModified:2006-09-05 mailTo:kko@freakmail.de © 2005-2007 kko