Jump to content

Search the Community

Showing results for tags 'msdos output'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I have a function that uses Run() to run a "nslookup" command and check to see if the address passed to it is reachable. After invoking the Run() command, I use calls to StderrRead() to read nslookup's output. I'm able to see the output, but it also displays in AutoIT's console output window (F8). I would like to keep nslookup's output from showing up in AutoIT's output window because I use ConsoleWrite() to output progress messages. I tried redirecting nslookup's output to a file, but nslookup complained. Here is some test code: _NS_Lookup("www.google.com") Func _NS_Lookup($ip) Local $ret, $str $ret = Run("nslookup " & $ip , @SystemDir, @SW_HIDE, 4) $str = "" While 1 $str &= StderrRead($ret) If @error Then ExitLoop WEnd If (StringInStr($str, "can't find " & $ip)) Then $ret = False Else $ret = True EndIf Return ($ret) EndFunc ;==>_NS_Lookup
×
×
  • Create New...