Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command for receving the input from .txt .

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Assuming that a program named prog1.exe uses standard I/O, which command is it to run the program and tell it to receive its input from a file called input.txt?
Thanx
 
prog1 < input.txt

on the DOS prompt.
&quot;Information has a tendency to be free. Which means someone will always tell you something you don't want to know.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top