[tex-live] [off topic] question about a few details in windows bat files

T T t34www at googlemail.com
Wed Jan 26 23:20:23 CET 2011

On 26 January 2011 21:17, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> I've never seen the environment variable %cd% before.  Is this a real
> environment variable which is exported to other processes?  In other
> words, is $ENV{'cd'} defined in a Perl script?

No, %cd% is one of dynamic variables that are treated specially by
cmd.exe.  They are not actually defined in an environment block.  Some
other such variables are %errorlevel%, %time%, %date%, but they are
all usable only in batch files / command prompt.



More information about the tex-live mailing list