Please enable JavaScript to view this site.

A-Shell Development History

The TAB(-10,AG_GETENV) command now optionally "de-mangles" paths. New syntax:

? TAB(-10,AG_GETENV);"var,1";chr(127);

If the ",1" is appended to the environment variable name, as shown above, then the result will be "de-mangled" (i.e. converted from the DOS 8.3 compressed format to the full long format), if possible. For example:

? TAB(-10,AG_GETENV);"TEMP",chr(127);

The above command (without the ,1) might return something like:

C:\DOCUME~1\yourname\LOCALS~1\Temp

Using the new syntax, with the,1, the command:

? TAB(-10,AG_GETENV);"TEMP,1",chr(127);

might return something like:

C:\DOCUMENTS AND SETTINGS\yourname\LOCAL SETTINGS\Temp