Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

WHOIS Information using Windows Command Line

Here’s a simple way to view WHOIS information using Windows Command Line. Just download the WHOIS command-line client called Whois v1.01 from Microsoft as part of its Sysinternals Suite. I have copied it in D:\Utils

Now open the Command Line and type the following command:

whois somesite.com or

whois ipaddress

The results are as shown below:

WHOIS CommandLine

Opening Multiple Browsers at Once

Yesterday I had posted about Opening Multiple Files using a Batch File. A user mailed me asking if it was possible to open multiple browsers at once using the same technique. The answer is Yes and here’s how to do so:

Open Notepad and copy and paste the following lines below:

@echo off
Start "IE" "C:\Program Files\Internet Explorer\iexplore.exe"
Start “Firefox” "C:\Program Files\Mozilla Firefox\firefox.exe"
Start "Chrome" "C:\Users\Suprotim\AppData\Local\Google\Chrome\Application\chrome.exe"
Start "Safari" "C:\Program Files\Safari\safari.exe"

Save the notepad file with the .bat extension. Now to open all these browsers at once, just execute the .bat file by double clicking it

Note: To know the location of the browser .exe on my machine, I used a simple technique of checking the properties of the browser shortcut and copying the path from the ‘Target’ field. For example: Here’s how the path of the Internet Explorer (IE) .exe can be obtained

image

Opening Multiple Files using a Batch File

If you have been looking out for a simple way to open multiple files, then you can create a batch file and specify the files to open. This example assumes that there are 2 text and 1 pdf file in a folder. Follow these steps to open all of them at once:

Open Notepad and copy and paste the lines below:

@echo off
start Copy1.txt
start Copy2.txt
start Copy3.pdf

Save the notepad file with the .bat extension in the same folder where the .txt and .pdf files are kept. Now to open all these files at once, just execute the .bat file by double clicking it