- May
- 13,823
- 211
I just figured out that directory changes in batch files are "recorded" in the directory history and for use with cd - and cdd -. I've been annoyed by that in the past but hadn't figured out what was doing it. Could SETLOCAL (or some other mechanism) be made to prevent that from happening?