Hi,
The code below, when executed, will output the prompt message: Invalid command.
However, it can be executed successfully in the actual cmd window.
Additionally, the part without the pipe symbol at the end(| findstr /i "diskindex") can be executed successfully.
I know that creating a temporary .bat file can solve the problem, but there is some sensitive information in my command, so I don't want to use a temporary file.
Is there a better solution?
Thanks in advance for any suggestions and help
David
Macro Macro21
The code below, when executed, will output the prompt message: Invalid command.
However, it can be executed successfully in the actual cmd window.
Additionally, the part without the pipe symbol at the end(| findstr /i "diskindex") can be executed successfully.
I know that creating a temporary .bat file can solve the problem, but there is some sensitive information in my command, so I don't want to use a temporary file.
Is there a better solution?
Thanks in advance for any suggestions and help
David
Macro Macro21