Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Input redirection
Name: nad Date: November 20, 2008 at 09:59:44 Pacific OS: Windows XP CPU/Ram: Intel Core2 ; 2 Gb Product: Dell
Comment:
Hello, I want to redirect input from file to an interactive DOS program. With the command program.exe < input.txt, the program opens, but it ignores my input values. The file input.txt contains all the required input values, one per line.
Name: aegis Date: November 20, 2008 at 13:46:55 Pacific
Reply:
Program.exe (whatever that is) has to have been written to recognize the '<', look for the input.txt file, read it and do 'whatever' with the text it finds.
The Operating System is not involved with accomplishing that.
Summary: I need to capture a filename and redirect to com1, any data that is written to that filename, without actually creating the file. Essentially I would like to grab all IO being sent to c:\filename.txt ...
Summary: This batch creates a util called input.com which it then uses to redirect input to file, set the password in a var called pw. ::== pwINPUT.bat @echo off call :make-it echo pw ? input>pw.txt set /p pw=...
Summary: We have a very slow internet connection due to many users. IF IE explorer takes to much time to find a site it redirects to a domain name site. Once it does it once it then does it everytime you click...