batch file commands?

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
Via a straight up windows command line hard to say, similarly do you want a "does something resolve and go somewhere" or "has someone registered the (sub)domain"?

If the former a straight up ping might work (although some servers fail to return requested information to ICMP requests and you also have nslookup (does however rely on local DNS and goes up the line so your firewall or ISP can mess somewhat with this).

I will however note most of the simple methods can fall over if you use something like openDNS or your ISP does similar things (adverts on bad urls).

If you are looking at simple command line applications wget http://gnuwin32.sourceforge.net/packages/wget.htm might be of use here but I have not played with it much beyond grabbing simple files/pages.
 

tk_saturn

Well-Known Member
Member
Joined
Jan 26, 2010
Messages
3,325
Trophies
0
Website
Visit site
XP
55
Country
No. You'll have to switch to VBscript or Powershell, both of which are built into Windows. You could check if a Domain name exists from the command line, but not a URL.
 

azure0wind

Well-Known Member
OP
Member
Joined
May 24, 2009
Messages
937
Trophies
1
XP
345
Country
Indonesia
so in VBScript, what is the code? can you tell me?
btw, what is powershell?
@FAST: well thanks, that would be helpful for my project
laugh.gif
 

tk_saturn

Well-Known Member
Member
Joined
Jan 26, 2010
Messages
3,325
Trophies
0
Website
Visit site
XP
55
Country

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-