Metzen Posted December 8, 2004 Share Posted December 8, 2004 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 Link to comment Share on other sites More sharing options...
baggers02 Posted December 9, 2004 Share Posted December 9, 2004 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. Link to comment Share on other sites More sharing options...
Metzen Posted December 9, 2004 Author Share Posted December 9, 2004 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. Link to comment Share on other sites More sharing options...
baggers02 Posted December 10, 2004 Share Posted December 10, 2004 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? Link to comment Share on other sites More sharing options...
djbe Posted December 10, 2004 Share Posted December 10, 2004 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? Link to comment Share on other sites More sharing options...
Denney Posted December 10, 2004 Share Posted December 10, 2004 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. Link to comment Share on other sites More sharing options...
baggers02 Posted December 10, 2004 Share Posted December 10, 2004 Right got the idea now, I do apologise without reserve. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now