• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Redirecting Input

Redirecting Input

The input redirection operator (<) handles getting input to a Windows Vista command from somewhere other than the keyboard. Input redirection is almost always used to send the contents of a text file to a Windows Vista command. The most common example is the MORE command, which displays one screen of information at a time. If you have a large text file that scrolls off the screen when you use TYPE, the following command, which sends the contents of BIGFILE.TXT to the MORE command, solves the problem:

more < bigfile.txt


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint