<aname="l1"></a><spanclass=cF2>InFiles</span><spanclass=cF0> are used to generate user input to automate operations. The ZealOS tour is done with an </span><spanclass=cF2>InFile</span><spanclass=cF0>. It is akin to a
<aname="l2"></a>Unix pipe because </span><spanclass=cF2>StdOut</span><spanclass=cF0> of one gets chained into </span><spanclass=cF2>StdIn</span><spanclass=cF0> of another.
<aname="l4"></a>When an </span><spanclass=cF2>InFile</span><spanclass=cF0> runs, a child task is </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KTask.CC.html#l264"><spanclass=cF4>Spawn</span></a><spanclass=cF0>()ed which intercepts real user input and generates fake input. InFiles are </span><ahref="https://zeal-operating-system.github.io/ZealOS/Doc/CosmiC.DD.html#l1"><spanclass=cF4>CosmiC</span></a><spanclass=cF0>
<aname="l5"></a>programs run by the child whose stdout goes to the parent's input buffer. </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l312"><spanclass=cF4>Message</span></a><spanclass=cF0>() can be included in an </span><spanclass=cF2>InFile</span><spanclass=cF0> to send
<aname="l6"></a>special keys or mouse cmds to the parent. While an </span><spanclass=cF2>InFile</span><spanclass=cF0> is running, the normal input gets diverted to the InFile task and
<aname="l12"></a>Note: </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l580"><spanclass=cF4>In</span></a><spanclass=cF0>("") can be used if all you need is to send ASCII characters. It differs from </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l561"><spanclass=cF4>InStr</span></a><spanclass=cF0>(). You'll probably use </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l580"><spanclass=cF4>In</span></a><spanclass=cF0>() a
<aname="l13"></a>lot and not </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l561"><spanclass=cF4>InStr</span></a><spanclass=cF0>(). With </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/Job.CC.html#l580"><spanclass=cF4>In</span></a><spanclass=cF0>(), for example, you can place answers to the prompts for recompiling the </span><spanclass=cF2>Kernel</span><spanclass=cF0> module during </span><spanclass=cF4>