I need to run this code in command prompt. The problem is that I need to use double quotes for $env:windir path but that doesn’t work. Is there a workaround?
BTW: When you post code or error messages or sample data or console output format it as code using the code tags “PRE” you find in the edit bar in the “Text” view, please. When you use the “Visual” view you can use the format template “Preformatted”. Thanks in advance.