Miscellaneous-excerpt from various IT tips and excerpt from it tips
A. How to Set environment variables? /* Add the mysql running path (C: \ wamp \ bin \ mysql \ mysql5.5.20 \ bin) as an example */
Method 1: [temporary, only effective in the current cmd window]
Open the cmd command interface and enter set csc = % path %; C: \ wamp \ bin \ mysql \ mysql5.5.20 \ bin
Method 2: [restart the cmd window to take effect]
My computer> Properties> advanced> environment variables> system variables> Path
Refer to the following settings:
Path Original Value: % SystemRoot % \ system32; % SystemRoot % \ System32 \ Wbem; % SYSTEMROOT % \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files (x86) \ ATI Technologies \ ATI. ACE \ Core-Static;
Modified value: % SystemRoot % \ system32; % SystemRoot % \ System32 \ Wbem; % SYSTEMROOT % \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files (x86) \ ATI Technologies \ ATI. ACE \ Core-Static; C: \ wamp \ bin \ mysql \ mysql5.5.20 \ bin;
PS: In the cmd window, you can run the echo % path % command to view environment variables.