Jump to content

Recommended Posts

Posted

What I'm looking to do sounds simple (to me) but I can't figure it out. I want to take a web page we use internally within our company that is generated by ASP and pipe the HTML file it generates to a text file on the desktop. I want to be able to execute this from the command prompt so I can use it in a batch file.

Does anyone here know of a trick to get IE to do that. I've tried "iexplore.exe http://www.google.ca >> test.txt" to no avail.

Thanks


Posted
Just use save as from the file menu and save it as a HTML file. If you save it as a text file from here the HTML will not be saved.

I'm looking to do it so I don't have to do that. This is something lots of people will be using and that makes it a point of failure.

Posted

Well you lost me mate, you don't want to use the thing designed to do what you want as other people are doing it as well. Well why ask for advice then?

Posted

he wants a method so he can use it in batch files, and as far as I know you can't tell the mouse to move to the file menu from a batch file. Maybe a vbs script?

Posted

That's a little harsh baggers02.

The reason he doesn't want to use the Save As option is because it would mean that everyone would have to do that. I know from experience that doing something like this on 2000 computers is quite tricky (something you can't do one-by-one).

On-topic though, there are a few small programs around on the net that can do what you want. WGET for Windows is probably best suited to what you want.

It will mirror a website onto your hard drive (or webpage as you want). You get grab it here:

http://allserv.ugent.be/~bpuype/wget/

Hope this helps.

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
  • Recently Browsing   0 members

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