Sign-in / Sign-up
Your question

Http://www.tomshardware.com/forum/83802-45-save-contents-command-promp

Tags:
  • VBScript
  • Command Prompt
  • Windows 7
Last response: in Windows 7
October 10, 2012 7:51:33 PM

When I run a .exe file from command prompt using a vb script, the .exe file will run for 6 hours and I would like to save the output on the command prompt to a .txt file, but when I use redirection operators the problem is - the .exe file will prompt for some inputs in between while running, when I redirect it i don't know how to enter those input values, Is there any other way to have that displayed on command prompt and then copied to a file ...

More about : http www tomshardware forum 83802 save contents command promp

a c 695 $ Windows 7
October 10, 2012 10:02:40 PM

If what comes up on the screen is the output from the program and not the script, you can't redirect it unless the program has command line options you can use.
m
0
l