Search found 2 matches
- 2022-Sep-17, 2:42 pm
- Forum: Windows CMD Shell
- Topic: FOR parameters
- Replies: 4
- Views: 3912
Re: FOR parameters
Simon thank you for responding. A couple things ... I fumbled my code snippet and left out two critical lines. :oops: The snippet was in fact running AFTER setlocal enabledelayedexpansion. The problem was caused by an exclamation mark ( ! ) in a filename. I missed seeing the problem because of @echo...
- 2022-Sep-16, 11:40 pm
- Forum: Windows CMD Shell
- Topic: FOR parameters
- Replies: 4
- Views: 3912
Re: FOR parameters
I'm thinking cmd.exe has recently broken. I also have a script that has been working for years that is now broken. The following code snippet no longer generates the correct output - so when using similar syntax to construct a REN command (for instance) the script is useless. Unfortunately I cannot ...