- May
- 3,515
- 5
Add options to DO and FOR to automatically quote the control variable when
it is a file or directory name. Two modes: a/ always quote (provides more
consistent string handling), b/ quote when needed, as if by @QUOTE[] (when
the name is not parsed).
Add optional parameter to functions which parse or process filenames (e.g.,
@name, @ext, @lfn) to do the same.
Add internal variables _cwdq and _cwdsq for like purpose.
These new features would substantially reduce the development time of batch
programs (and aliases) which process files. Admittedly, these features can
be emulated already, but at much greater cost in batch file design time and
complexity.
--
Steve
it is a file or directory name. Two modes: a/ always quote (provides more
consistent string handling), b/ quote when needed, as if by @QUOTE[] (when
the name is not parsed).
Add optional parameter to functions which parse or process filenames (e.g.,
@name, @ext, @lfn) to do the same.
Add internal variables _cwdq and _cwdsq for like purpose.
These new features would substantially reduce the development time of batch
programs (and aliases) which process files. Admittedly, these features can
be emulated already, but at much greater cost in batch file design time and
complexity.
--
Steve