echo print double quotes in text file even if the command does not contain that
Summary The issue arises when using Java’s ProcessBuilder to execute a command in cmd.exe. If the command contains multiple spaces between words, the output in the text file is wrapped in double quotes. This is not the expected behavior, especially when the command itself does not contain double quotes. Root Cause The root cause of … Read more