Folks,
Sorry for asking the question, as I am sure the answer is out there somewhere - I just don't know the right way to phrase this in a search:
I would like to run a batch file from a scheduled task to create a new batch file in the Startup folder and to reboot. The purpose of this is to force an interactive login and action some commands, in a completely hands off fashion.
Because their are several minor variations to the batch files I want to create, I currently have several similar files that I copy to Startup at different times. But this feels untidy. I would rather have the contents of the new files that I want to create stored "in stream" in the main file.
I think that this is possible in Linux Bash script using a "<<<" to an end point, but again, I can't find the details.
Again, sorry for the vague question - flame away
![Wink ;)](https://www.computerhope.com/forum/Smileys/classic/wink.gif)