The syntax %var:find=replace% does not appear to work when the variable is
an internal variable.
TCC 10.00.48 Windows XP [Version 5.1.2600]
TCC Build 48 Windows XP Build 2600 Service Pack 3
D:\test>echo %_cwd
D:\test
D:\test>set zzz=%_cwd
D:\test>echo %_cwd:test=qqqq% %zzz:test=qqqq%
D:\test D:\qqqq
--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
an internal variable.
TCC 10.00.48 Windows XP [Version 5.1.2600]
TCC Build 48 Windows XP Build 2600 Service Pack 3
D:\test>echo %_cwd
D:\test
D:\test>set zzz=%_cwd
D:\test>echo %_cwd:test=qqqq% %zzz:test=qqqq%
D:\test D:\qqqq
--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.