Windows 10: How to redirect a file of input data in PowerShell? Solved

Page 2 of 2 FirstFirst 12
  1.    06 Aug 2017 #11

    See tutorial above.
      My ComputerSystem Spec

  2. Duyenhip's Avatar
    Posts : 9
    Windows 7 Ultimate
       06 Aug 2017 #12

    You can't hook a file directly to stdin, but you can still access stdin.Get-Content input.txt | ./program > output.txt
      My ComputerSystem Spec

Page 2 of 2 FirstFirst 12

Related Threads
So i installed windows 10 and when i get to my desktop i'm ask what i want to do with a app data roaming file. The file info is 77b8df.1945a74. I tried opening it but i get a blank page. I ran a virus and mall ware scans and nothing. What can i do...
So I go back to the days of DOS 6.2, and I've done a lot of BAT files since .:nerd: But I keep reading about Powershell. I've looked at some MS webpages for learning Powershell, and the learning curve seems pretty steep.:sick: Can anyone...
After upgrading my laptop to Win 10 I found File History and activated it. Seemed to be working fine until 8/15 when the backups stopped. Tried to get it to backup further but, no way so after trouble shooting without success I deleted the back up...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:44.
Find Us