• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Saving "traceroute" results into a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving "traceroute" results into a variable


  • Subject: Saving "traceroute" results into a variable
  • From: email@hidden
  • Date: Thu, 25 Jul 2002 13:57:09 EDT

Can anyone tell me how I might be able to write an AppleScript that would
execute a "traceroute" command, and pipe the output of that into a variable?
(It eventually needs to get written to a text file, so if it's easier to go
direct, please let me know)

Is it something like:

doShell "traceroute demand.stream.aol.com > " & (home as string) & "datadump"
to append to a text file

and

copy doShell "traceroute demand.stream.aol.com" into x to save into a
variable?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Saving "traceroute" results into a variable
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Was: Ragtime/Pie Charts/Graphs in EPS NOW: Publish and Subscribe?
  • Next by Date: Re: URL Access Scripting
  • Previous by thread: Re: force quit a FoxPro app from AppleScript?
  • Next by thread: Re: Saving "traceroute" results into a variable
  • Index(es):
    • Date
    • Thread