Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: is this even possible?  (Read 2220 times)

0 Members and 1 Guest are viewing this topic.

twayf3

  • Guest
is this even possible?
« on: September 18, 2006, 05:57:33 PM »
I want to make a batch file that gets the adresses of the websites i have open, stores them in a text file, and closes the windows. I want another batch file taht opens the websites listed in the text file. If this is possible, it would be great if som1 could help me make the file.

EDIT: i also want to delete contents of the text file when the second batch file is run

EDIT2: lol :/ oh well. I know u can open sites with batch files, and i think u can store them as variables, all i would need is a way to figure out what websites are open.
« Last Edit: September 18, 2006, 06:55:49 PM by twayf3 »

Dilbert

  • Moderator


  • Egghead

  • Welcome to ComputerHope!
  • Thanked: 44
    Re: is this even possible?
    « Reply #1 on: September 18, 2006, 06:42:02 PM »
    Erm... no. Batch is *not* a programming language. Heck, I am not even sure how to do that in C++. :-/
    "The geek shall inherit the Earth."

    ghostdog74



      Specialist

      Thanked: 27
      Re: is this even possible?
      « Reply #2 on: September 18, 2006, 10:17:28 PM »
      Quote
      I want to make a batch file that gets the adresses of the websites i have open, stores them in a text file, and closes the windows. I want another batch file taht opens the websites listed in the text file. If this is possible, it would be great if som1 could help me make the file.

      EDIT: i also want to delete contents of the text file when the second batch file is run

      EDIT2: lol :/ oh well. I know u can open sites with batch files, and i think u can store them as variables, all i would need is a way to figure out what websites are open.

      this can be easily done in langauges like Perl/Python etc, but if you want a batch soln, you can try wget.

      uli_glueck

      • Guest
      Re: is this even possible?
      « Reply #3 on: September 19, 2006, 12:25:28 AM »
      The wget command is from the GNU Tools.
      Should be possible with it. Please post your solution when it works. :-)

      uli