environment variables - Batch files, $ : and ~ -
I am writing an application for which the environment will need to expand the wire.
To this effect, I can use the standard window API function, ExpandEnvironmentStrings:
I have some problems with that function though. First of all: LPSRC and LPDist buffers are limited to 32K.
Next: Note that this function does not support all features that support Cmd.exe. For example, it does not support% variableName: str1 = str2% or% variableName: ~ offset, length%.
I allow these Extras cmd.exe, I'm not sure exactly what they are. : ~ Offset, length is slightly clear ... substring
Billy 3
Comments
Post a Comment