You can get input from the user using the following methods:
SET](https://www.notion.so/kjkpublic/SET-540c344e1358419fb62ff4cc35e604b8) /P commandtype con >myfile.txt, for which the multi-line user input is terminated by user pressing Control + Z.