Skip to main content

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.  


Popular posts from this blog

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

** I Will Not responsible for any damage done with use of below mentioned methods. ** Power off your Samsung Galaxy SL (GT- I9003) to start in recovery mode. Once you have power off the phone, press and Hold Volume UP and Home button. Make sure you have hold volume up, don't press in  the middle of the volume buttons.  Now keep pressing these two buttons(VOL UP + HOME) and presspower button for 2-3 seconds. Release only power button, but keep pressing Volume Up + Home Button, until you see the screen shown below. Once you see recovery screen release the Home button else your phone will restart as first selected option will be restart and pressing home will make that happen.

In the recovery mode, volume up & down act as a up scroll and down scroll buttons, by pressing Home button you will be able to click the selected option.

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

** I Will Not responsible for any damage done with use of below mentioned methods. ** To flash the CWM recovery to your Samsung Galaxy SL you will require to following things in place: Odin  : you can download it from here.CWM Recovery image : you can download it from here. Thanks to XDA-developers. USB driver to connect your phone with computer. Install Samsung Kias so it will install the USB driver. Once you have downloaded above required items and installed the USB driver, reboot you phone to download mode. You can read how to reboot phone in download mode from here. Now connect the phone with USB cable to computer. 
Extract the Odin from the zip file that you have downloaded at some location on your computer and launch the Odin executable by double clicking it. Wait for Odin to detect your phone.You will be able to see it in yellow once detected on odin screen as shown below.
Click the PDA button to select the CWM recovery image. Once you have selected the recovery image, check the od…

How to Factory Reset or Hard Reset Samsung Galaxy SII ( GT-i9100)

Note: Performing these steps you will loose all your contacts, messages, all application settings and all installed applications.
If you have trouble with phone software and you want to reset the phone to factory state, you can try factory reset using below steps:
1. Go to System Settings and then select Privacy.
5. If the password is required,enter it. Then confirm by selecting ERASE EVERYTHING. 

If you’re unable to access the settings menu of your Galaxy S II, to Hard Reset the try this method:

1. Turn phone POWER OFF, or pull the battery out and put it back again.
2. Press the Volume UP + Home Button.
3. Keep pressing these 2 buttons + press POWER button for 2-3 seconds.
4. Release only power button but keep pressing Volume Up, Home button.
5. A Boot Menu will then show, Use the volume up/down to choose and home to select.
6. Select Wipe data/factory reset option and press Power button.
7. Now select Yes - delete all user data and Press Power…