Creating new commands on your windows machine

Many a times we execute some commands repeatedly, which leads in waste of some time. Also some times you many want to create some commands and execute those directly instead of traversing to that directory and executing.


In such situation you can create a simple batch file which will contain your commands or path of executable which you want to execute in bunch. After that your work will be just to execute that batch file.


To create your own commands follow these steps:

  1. Create a batch file containing your path of executable or commands you want to execute.
  2. Place all these file at  directory. 
  3. Now go to Run prompt and just type name of your batch file.
If you don't want to risk your Windows directory, then you can do do following things, but please do these steps carefully:
  1. Create a batch file containing your path of executable or commands you want to execute.
  2. Place all these file at single directory on any drive.
  3. Right click to My Computer, Click on Properties. 
  4. On System Properties dialog, open Advanced Tab.
  5. Click on Environment Variables button.
  6. Under System Variables group, select Path environment variable. Click on Edit button.
  7. At the end of the value of variable place a semicolan and above directory path(step 2). 
  8. Please insure that you are just to appending to current path not overriding. Modifying current path will make harm to your computer.
  9. Thats it and you are done.  

How to execute application or batch file at startup

You have multiple options for doing this:


Option 1:

  1. Create a shortcut of you application or batch file. 
  2. Copy that shortcut to "C:\Documents and Settings\\Start Menu\Programs\Startup" folder. (Note :  replace this with actual user name that you login with).
  3. Now on the next log-on your application or batch file will execute.
 Option 2:

  1. You can create a registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run with the name of the application you want to execute, of type REG_SZ.
  2. Set the path of executable as a value of the key created. 
  3. Append " /STARTUP" at the end of value and you are done.

The process cannot access the file because it is being used by another process

Sometimes during install of some product you may face the error “The process cannot access the file because it is being used by another process” and your installation fails. In such situation you can do following things to eliminate the error:
1.       Check the log created by the product installer. Usually they are located in the temp directory. Log file may tell you which file is used by other process. Using Process Explorer(Tool from Sysinternals) you can check that the file is used by which process. Then close that process and start your installation.
2.       If you are installing using shared folder from remote machine as media, then check if_ISDel.exe is running. If it’s running then kill that process using task manager. Sometimes this helps.


Caching is a technique used to store frequently accessed data in a temporary storage layer to improve system performance and reduce latency....