Sign in to follow this  
Followers 0
Edgar0024

Redirect output over file

4 posts in this topic

I use this freeware command line utility for read whois of site

whosip.exe ( downloaded from site http://www.nirsoft.net/utils/whosip.html)

I use in dos command windows for make file output

whosip www.google.com > log.txt

and i have log.txt file with the output whois.

If i try in autoit with

$run_val = RunWait('whosip www.google.com > log.txt ')

then whosip work ok but dont generate log.txt file output whois same when i run in dos command window.

any suggestion ???

many thanks

Edgar from Bangkok :)

Share this post


Link to post
Share on other sites



Add a @ComSpec macro

Example:

Run(@ComSpec & " /c xcopy.exe /?>" & @ScriptDir & "\log.txt", "", @SW_HIDE)

Share this post


Link to post
Share on other sites

What does it record? IP info?

Share this post


Link to post
Share on other sites

Add a @ComSpec macro

Example:

Run(@ComSpec & " /c xcopy.exe /?>" & @ScriptDir & "\log.txt", "", @SW_HIDE)

Many thanks

Now working OK

:)

Edgar from Bangkok

Share this post


Link to post
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
Sign in to follow this  
Followers 0