title: Running this windows program hidden
body: <p>I need to run this <a href="https://web.archive.org/web/19990129004722/http://www.er.uqam.ca/merlin/fg591543/tst/" rel="nofollow noreferrer">old telnet scripting client</a> silently in the background. You run it from cmd providing arguments for: </p>
  
  <p>1- a file containing the commands to send</p>
  
  <p>2- a file where to print any output</p>
  
  <p>3- whether to run it minimized to taskbar or not</p>
  
  <p>(note: if it is run without arguments, it displays a help window)</p>
  
  <p>So this is what I type in cmd, and it works like a charm:</p>
  
  <pre><code>TST10.exe /r:mycommands.txt /o:myoutputfile.txt /m
  </code></pre>
  
  <p>What I can't achieve however, is running it completely hidden in the background. Now, since this program requires arguments, I tried to first achieve this only on the help window that gets spawned (ie: running it without arguments).</p>
  
  <p>I tried with VBScripts using carefully all the answers <a href="https://stackoverflow.com/questions/22698508/vbs-visual-basic-script-run-program-hidden-invisible">here</a>. It always starts normally (not hidden). These VBScripts all succeed to hide other programs though.</p>
  
  <p>I also tried with <a href="https://securityxploded.com/process-magic.php" rel="nofollow noreferrer">this program</a> that starts processes hidden, oddly enough it only succeeds in hiding the the telnet client from the taskbar. Also, even if it would completely hide it, I still have no idea on how to pass the mentioned arguments.</p>
  
  <hr>
  
  <p>edit:
  How is this even <strong>CLOSE</strong> to "Prevent VBscript app from showing Console Window" or "How can I run a command silently in VBScript?"? This question <strong>VERY</strong> clearly asks how to run a normal .exe program in a hidden manner which is not even slightly related to running a VBscript without showing the console or running a command silently in VBScript. + I even stated that the only way to achieve this <strong>USING</strong> VBScipt (not hiding a VBScript itself) doesn't work. Are the accounts marking this as duplicate bots that simply detect "VBScript" and "hide program" and assume that I want to hide an executing VBScript? Or can they simply not understand English?</p>