Click here for important information about

Create batch file to check and open Web URLs

Sony Vaio vgn-nw240f/s notebook
May 16, 2011 at 11:21:27
Specs: Windows 7

I need to create batch file to do the following:

1- check for URL1
2- If there is any error like (page not found,404 error, etc)
3- Then check for URL2
4- If it is OK
5- then go to URL2 and open it.

Please , can i do this?

Many thanks for advance

See More: Create batch file to check and open Web URLs

May 16, 2011 at 11:55:01
Take a look at the command line tools: wget or cURL.

When your only tool is a hammer, every problem looks like a nail.

Report •

May 16, 2011 at 17:43:15
What orangeboy said. If you wanted to avoid downloading a program, you could look at VBScript or PowerShell.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question