Batch files are like shortcut files which make working in the command-prompt a lot faster since batch files automate most of the typing. All you have to do is click the file and it execute a bunch of commands in CMD automatically.
Batch file code for notepad.exe
@echo off
c:\windows\system32\nslookup.exe
@pause
Save the file as NSlookup.bat and pick “All files” in the save as type box.
NSlookup is a program which runs in Windows Command prompt. It is used to look up the IP. address of an Domain name server’s name server . NSlookup stands for Name server look up. What you can use the IP. address for. You can use it to ping a website in CMD by typing.
Ping IP address
in CMD.
If you can ping the address with the IP, most likely your DNS service or server is down, and you need to switch to another DNS server address like Google DNS 8.8.8.8 or 8.8.4.4 in your network adapter properties.
If you notice faster load times by using a website IP address then it means your DNS server is slow and you need to replace it with a faster one in your network address properties.
Doing an NSlookup is also a fun thing to do when you are bored since have you ever wonder what the IP address of Google was? Now you can by using NSlookup.
As I read this blog, I have learned a lot of things about computers. It also tackles about batch files. Thank you for sharing it. I am sure many will read this.
I have learned that these batch files are just like shortcut files which make working in the command-prompt a little bit faster because batch files automate most of the typing.
Indeed, Casey, Batch files are good for making multiple folders or deleting multiple folders since they automate the process by running a batch files.