Jump to content

Something similar to FINDSTR


coles
 Share

Recommended Posts

Hi guys,

I am creating a file result with specific key words from another file

FINDSTR "\<SAH.*" c:\temp\a.txt >> result.txt & FINDSTR "\<10.17.*" c:\temp\a.txt >> result.txt

How can i write this in Auto it??

so i can include the above query to 

Example1()

Func Example1()

    RunWait(@ComSpec & " /c " & "netsh.exe mbn show interface dump >> c:\temp\a.txt");
    RunWait(@ComSpec & " /c " & "ipconfig /all >> c:\temp\a.txt");
        EndFunc

 

Noob here please be gentle.

Any guidance will be appreciated

 

Cheers

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...