I need to write a certain text in the SI text in the text file, I want to do this through the System command (“Copy Con File.txt). But as in CMD, it requests the user input. Is it possible to do it automatically that when entering the command or command block of commands the program itself created the file and recorded the text in it?
Answer 1, Authority 100%
Solution:
System ("Echo Text & GT; & gt; file.txt");
This command creates a text document named file, and writes the word text to it.