ok i have two problems with a batch file i've written which utilizes the windows 2000 resource kit utilities.
1) I'm using the "httpcmd" (command-line http client) command to grab pages from the internet. This works fine for all intranet sites, and even internet sites up until a few weeks ago. Suddenly, it seems to have stopped working. I can access the same site with IE and it works fine. The exact procedure i'm using is "httpcmd www.pendleton.usmc.mil d:\utils\req\internet.req" where internet.req is the config file. Now I get an error taht says "connect() failed, error 10060". Any ideas?
2) I'm also using the listfreespace.vbs program to get the freespace on all of our servers' drives. It works for all of our servers but two: the SQL servers. Here's what i use from the command line: "listfreespace.vbs /S cpen01db /U administrator /W ***** /O D:\utils\eventl~1\textfiles\cpen01db_freespace.txt". This returns:
Error 0x1A8 occurred in connecting to server cpen01db.
Error description: Object required.
Please check the server name, credentials and WBEM Core.
Any ideas?
1) I'm using the "httpcmd" (command-line http client) command to grab pages from the internet. This works fine for all intranet sites, and even internet sites up until a few weeks ago. Suddenly, it seems to have stopped working. I can access the same site with IE and it works fine. The exact procedure i'm using is "httpcmd www.pendleton.usmc.mil d:\utils\req\internet.req" where internet.req is the config file. Now I get an error taht says "connect() failed, error 10060". Any ideas?
2) I'm also using the listfreespace.vbs program to get the freespace on all of our servers' drives. It works for all of our servers but two: the SQL servers. Here's what i use from the command line: "listfreespace.vbs /S cpen01db /U administrator /W ***** /O D:\utils\eventl~1\textfiles\cpen01db_freespace.txt". This returns:
Error 0x1A8 occurred in connecting to server cpen01db.
Error description: Object required.
Please check the server name, credentials and WBEM Core.
Any ideas?
