How to Create Your Own Customized Run Commands

Tuesday 10 June 2014




How to Create Your Own Customized Run Commands



The Run command on Microsoft Windows operating system allows you to directly open an application or document with just a single command instead of navigating to its location and double-clicking the executable icon. However, it only works for some of the inbuilt Windows programs such asCommand prompt (cmd), Calculator (calc) etc.
So, have you ever wondered how to create your own customized Run commandsfor accessing your favorite programs, files and folders? Well, read on to find out the answer.

Creating the Customized Run Command:

Let me take up an example of how to create a customized run command for opening the Internet explorer. Once you create this command, you should be able to open the Internet explorer just by typing ie in the Run dialog box. Here is how you can do that.
1.    Right-click on your Desktop and select New -> Shortcut.
2.    You will see a “Create Shortcut” Dialog box as shown below.

3.    Click on “Browse”, navigate to: Program Files -> Internet Explorer from your Root drive (usually C:\) and select “iexplore” as shown in the above figure and click on “OK”.
4.    Now click on “Next” and type any name for your shortcut. You can choose any name as per your choice; this will be your customized “Run command”. In this case I name my shortcut as “ie“. Click on “Finish”.
5.    You will see a shortcut named ie on your desktop. All you need to do is just copy this shortcut and paste it in your Windows folder (usually “C:/Windows”). Once you have copied the shortcut onto your Windows folder, you can delete the one on your Desktop.
6.    That’s it! From now on, just open the Run dialog box, type ie and hit Enterto open the Internet Explorer.
In this way you can create customized Run commands for any program of your choice. Say ff for Firefox, ym for Yahoo messenger, wmp for Windows media player and so on.
To do this, when you click on “Browse” in the Step-3, just select the target program’s main executable (.exe) file which will usually be located in the “C:\Program Files” folder. Give a simple and short name for this shortcut as per your choice and copy the shortcut file onto the Windows folder as usual. Now just type this short name in the Run dialog box to open the program.

I hope this post has helped you create your own Run commands and use them in your daily life. Pass your comments.

How to Remove a Virus Using Command Prompt

Friday 6 June 2014




 Virus is a computer program that can copy itself and infect your computer. These viruses can spread via USB/flash drive or from one computer to other computer by few written codes. There are many antivirus software available to remove viruses from computer. But there are some viruses or suspicious files which can’t be removed by any antivirus software. Some suspicious files such as autorun.inf initiate all the viruses in pc. These files must be removed for safe operation of your pc, because they may lead to data loss, software damages etc. Such viruses and files can be removed by using cmd. In this article we will discuss how to remove a virus using command prompt. Following steps can be used to remove a virus using command prompt from your computer.


   Go to start menu and type “cmd” in the search box or Start>all programs>accessories>command prompt.      
Open the infected drive such as write , g: to go to G drive.
 Now type dir/w/a . It will show all the files of the drive including hidden files.
       Locate AUTORUN.INF or any Virus and other suspicious files in the directory.

there was no virus in my drive so only autorun.inf is been highlighted.
Type command attrib  -r –a –s –h to remove attributes of corresponding file.

Type del autorun.inf to delete autorun.inf file.

 Now type del virus name.exe t delete it, eg : del newfolder.exe .
(You can also delete viruses by using following steps:
 When you find an Autorun.inf file or any other unusual .exe file just rename it.

Syntax for rename is (rename filename.extension new name ,  for example: (rename autorun.inf virus) to rename autorun.inf file. Here I have renamed it by “virus”.
Now you can access the defected drive without affecting the virus.
To delete the renamed file go to the defected drive and select the file you renamed.

Now delete the harmful renamed files.)
You have deleted that virus successfully but sometimes virus resides in the Recycler folder.To locate this folder:
Type cd recycler command.
Again type dir/w/a  to locate all file of the folder.
Identify malicious files and delete them using above commands.
Follow the above steps carefully and i think this information is enough to remove a virus using command prompt easily.

Important: Make sure that no other processes being running while performing these actions. Best of luck.
Enjoy :)
Copyright @ 2014-16 Latest Tech Tricks Everyone Should Know | Imhacker. Designed by Imhacker

Total Pageviews

About Imhacker

Follow us on Facebook