如何删除MikTex
Removing MiKTeX
There is no uninstall option (yet), thus you have to do it by hand if you decide to remove MiKTeX:
1. Remove the main TEXMF folder (usually c:\Program Files\MiKTeX) including
sub folders.
2. Remove the local TEXMF folder (usually c:\Local MiKTeX) including sub f
olders.
3. Remove Registry entries:
1. Start regedit
2. Open the key HKEY_LOCAL_MACHINE\SOFTWARE and delete the MiK subkey.
3. Open the key HKEY_CURRENT_USER\Software and delete the MiK subkey.
4. Remove the MiKTeX item from the Windows start menu.
5. Remove the bin directory from the PATH. ()
6. reboot
备注:如何设置环境变量
方法1:
点击开始菜单,运行=》cmd
打印当前变量:echo %PATH%
结果:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\PROGRA~1\ssh;D:\Program Files\tortoisesvn\bin;D:\Program Files\baofengyingyin\Codec;D:\Program Files\baofengyingyin
设置变量:
set PATH=C:\Program Files\EasyPHP5.3.0\php;%PATH%
再次打印:echo %PATH%
结果显示增加了新的变量:
C:\Program Files\EasyPHP5.3.0\php;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\PROGRA~1\ssh;D:\Program Files\tortoisesvn\bin;D:\Program Files\baofengyingyin\Codec;D:\Program Files\baofengyingyin
方法2:
以上为临时设置,如果要永久有效,用这样的步骤:
右键桌面的我的电脑=》属性=》高级=》环境变量=》系统变量=》PATH=》修改加入新的路径,重启计算机。