Configure This – Ipconfig Commands And Uses

Many people are familiar with the command (commonly abbreviated cmd) prompt that is on their Microsoft Windows OS. From here you can run a variety of commands that will display various tidbits of information. One of the most commonly used command prompts is the ‘ipconfig‘ prompt.
Now, once you are on your cmd screen simply type in “ipconfig” and you should get something similar to this below:

Other ipconfig commands
– Ipconfig /?
This will display a whole plethora of information because the ? makes it a help message.
– Ipconfig /all
This will display all of your configuration information.
– Ipconfig /renew
This will renew the IPv4 address for your adapter.
– Ipconfig /release
This will release the IPv4 address (you can renew it afterwards).
– Ipconfig /release 6
This does the same as the previous release except it targets the IPv6 address.
– Ipconfig /allcompartments
Just a command that will show you all of the information on all compartments.
– Ipconfig /flushdns
Flushdns will purge the DNS resolver cache.
– Ipconfig /registerdns
This will refresh all DHCP leases and will re-register the DNS names.
– Ipconfig /displaydns
This is how you display all of your DNS information.
– Ipconfig /showclassid
Showclassid will display all of your dhcp class ID’s that are allowed for the adapter.
– Ipconfig /setclassid
Using this prompt will modify the dhcp class ID.
– Ipconfig /showclassid6
This will display all of the IPv6 DHCP class ID’s allowed.
– Ipconfig /setclassid6
This will modify the IPv6 DHCP class ID.

What are the ipconfig commands used for?
When you are having internet connection issues, one of the most common places to check for the problem is your adapter settings. Using ipconfig commands gives you the ability to assess your connections, renew them, and gather vital information that could aide you in successfully repairing your internet connection.

You can also use the ipconfig commands (specifically ones pertaining to the DNS) to resolve some common errors that you may encounter. If your DNS cache is outdated or corrupted in any way while browsing the internet you can have difficulty accessing the sites that became corrupted in your cache.

One such scenario would be you trying to access a site that was down, but then it came back up later. If your DNS cache got corrupted it will save the information on the site being down even though the site is now updated and back online. Due to that corruption you will still see the site as ‘down’. A way to fix this is by flushing your DNS and retrying the site.

As soon as you experience internet connection troubles with your computer you should first check to see if your router is online, WiFi is on, then you go to your cmd prompt. These are common issues that many people face and it is a quick fix for internet problems that often lead to hours of frustration.

Feature Of Windows 7: How To Cancel Non-Responsive Command

Feature Of Windows 7: How To Cancel Non-Responsive Command

The major common problems of using Windows OS that the users face is the system breakdown, system freeze or unresponsive system because of the installation problem. This problem may arise due to some error-prone application and programs tools. Finishing this application might cause some undesired results that is loss of data and an unstable system. Users can go for forced ending of the present application. It will immediately end that application and will not provide users a chance for saving their data.

This common practical problem is being tackled vey wisely by Microsoft by incorporating an option which is quite interesting in Windows 7. Whenever the system recognizes a program which is unresponsive or may be an application halt, Windows 7 will allow the users for trying to cancel that non-responsive command.

Usually the conventional process is to kill it or to terminate that application, after that restart the application. For example, when the user copy and paste texts to the Microsoft Word after which the program becomes unresponsive, rather than closing down the Microsoft Word application, the users will be allowed by Windows 7 to cancel that copy and paste application. Users can continue their work with Word program as well as save data using the new feature.

Settings To Add More Fonts For Command Prompt In Windows

Settings To Add More Fonts For Command Prompt In Windows

The appearance and style of Windows command prompt has always been the same ever since it had been launched for the first time up until now. Whereas Windows itself includes progressively influential features accessible. These features can be modified in a lot of ways in accordance to your preferences or your liking.

However, the command prompt still hangs about to be still the same along with extremely restricted customization and modifications. For example, you can select the fonts only between a couple of selections namely the Raster Fonts and Lucida Console. Also, you will not be able to add diverse fonts throughout the interface.

Well, you most likely you mightn’t know that that in reality you can insert extra fonts to command prompt by means of the very simple registry hack.

Prior to addition of extra fonts to the command prompt, following are some few principles that have to be satisfied:

  • The font should not be an italic font, or else will get the annoying A or C space
  • The font should be a fixed-pitch font
  • The font have to be OEM_CHARSET intended for font which is non TrueType
  • The font have to be FF_MODERN used for TrueType fonts

Go to Start Menu then Run, type “regedit” (without quotes) and hit enter.

Navigate to the following sub key:

HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Console\TrueTypeFont

Go to the right widow; you will observe that the font added by default is Lucida Console furthermore below name file, named as 0. Therefore for extra fonts for the addition, you should name it like 00, 000, 0000 ….so on. If you do not follow these naming principles, the fonts that are added newly will not be shown.

Make a right click of mouse on TrueTypeFont, select New, go to String Value, put the value like 00 and then hit enter.

Enter the name of font below the Value data field by just double clicking on this recently formed String Value in above step. As the fonts which satisfy the criteria are Consolas, Courier New in ascending order, you’ll need to affix Consolas below name 00.

Go over above two steps to put in Courier New below name 000. Then, restart your computer.

After restarting the computer, open the command prompt and right click on top of the title bar, select properties. Under the tab named as Font, you will notice the fonts you have added recently. Pick one of the fonts. After that click OK button and save the whole setting.

Font Downloads

dafont

White Rabbit

Trick To Demonstrate Current Functional Directory’s Complete Path With .BAT Command

Trick To Demonstrate Current Functional Directory’s Complete Path With .BAT Command

A user implementing a “Batch-Command-Script” in (“.CMD or .BAT file extends) should know information about the current functional directory of the batch-script. Knowledge of the present working folder or directory in batch-commands is very helpful, as it confirms if the Script is either calling a command from the right directory path, or manipulating a folder or a program.

Next most significant utilization is in preserving and capturing the current folder for future usage as the script might alter the route during its course of action.

In reality, displaying and showing the present directory is simpler with the usage of pseudo-variables for “Cmd.exe” Environment-Variables.

Microsoft-Window has added “%CD%” pseudo-variables from Windows2000 versions onwards, which elaborates to the current functional directory.

For illustration, just utilize the following commands:

1) To exhibit current functional directory – “echo %CD%

2) To save and preserve the present functional directory wherein a file is situated for future usage after Change Directory (CD) to other directories to execute operations – “Currentdir=%CD%

The %Currentdir% is a Variable to stock the current functional folder, which can be utilized for future batch commands, such as altering back to its former directory.

However within the Windows 9x, the “%CD%” Pseudo-Variable does not exist. So, to get the current functional directory, utilize the following technique:

  • cd | time | find “:\” > temp1.bat
  • echo set cd=%%4 %%5 %%6 %%7 %%8 %%9 > enter.bat
  • call temp1.bat
  • del temp1.bat
  • del enter.bat

The final result variable “%cd%” will be brought back to the Batch Processing Session which comprises the present functional directory.

Send An Email From Linux Or UNIX Command Line Shell Easily

Send An Email From Linux Or UNIX Command Line Shell Easily

Sometimes, the system administrator might be required to send an emergency mail or a test mail message only using the command line interpreter or shell in Linux flavored OS and it might also be needed in the distribution of operating system such as CentOS, Ubuntu, Debian, Red Hat Fedora, FreeBSD, Open SUSE and etc. In such situations, you will find the mail command extremely handy one.

Actually “mail” is a command, which is used to receive and send mail massages in BSD operating system, UNIX and Linux. You could enter the following command to initiate the mail transfer procedure.

Mail recipient@domain.com

Of course, you should enter a valid email address in the place of recipient@domain.com.

While typing the mail message body, you will be prompted to enter the subject for the mail by the system. The format would be like:

# mail receipent@domain.com
Subject: For Testing Only
This email is for testing the mail delivery system only.
^D (EOT)
Cc:

After completing the typing of your email message, you just have to press Ctrl-D (it is shown like “^D” in the above example). It is used to represents the End of Text (EOT). You may or may not be prompted with the input request to enter any other recipients to send cc (carbon copy). It depends upon the operating system that you use. To skip this, just hit enter button or else accept the input, and the mail will be automatically delivered.

Tip: If the same system is used by the recipient and sender, then you may just omit the domain part (it will be as @domain.com) from the address, typing just user name only.

Furthermore, you could use switches and arguments of mail for sending the mail to directly avoiding any interactive input. For instance,

mail -s Test address@domain.com < /dev/null

The above command will send a blank email right away, which would have empty body to the address of recipient and having the subject name as “Test”. You could as well type “man mail” for extra arguments.