none
Power Shell Forum RRS feed

  • Question

  • Which forum should be used for Power Shell?

    Here is my question.

    We cannot run DOS style batch files such as search.bat. but we can activate Powershell.  That has some difficulties for the average user.  Here is a command that can work in a dot bat file:

    dir /s c:\some_dir\*text* >> results.txt

    Powershell does not like the output redirect to file results.txt and does not like the include subdirectories option of /s.  Is there a nice simple equivalent for that DOS command.  The options I am finding are rather complicated and I suspect something simple exists..


    ~jag77 We need to know what a dragon is before we study its anatomy. (Bryan Kelly, 2010)

    Thursday, November 2, 2017 1:06 PM

Answers

All replies