参考链接:
http://jingyan.baidu.com/article/d2b1d102913bbd5c7e37d4e4.html
http://www.cnblogs.com/dmzhuo/p/6689521.html
1. 依序点击菜单栏,options-->options interface
2.在界面左侧的options interface树中展开advance configuration
3.advance configuration->event handlers->Exit,双击Exit
4.Exit.edt中添加语句
将下列语句插入 “Exe('%b\Config\Cleanup.edt')”之后和 “ PopTagsandRegisters“之前;
RegDeleteValue('HKEY_CURRENT_USER', 'Software\WinEdt 10', 'Inst'); //I'm not clear what WinEdt.skd is exactly used for DeleteFile('%B\WinEdt.skd'); //ONLY FOR WinEdt 10 //Tampering WinEdt.dnt ReadFile( "%b\WinEdt.dnt", 1, 0, 0, 0 ); ReplaceInString( "%!1", "1089357896855742345", 4, 23, 0, 2 ); WriteFile( "%b\WinEdt.dnt", "%!2", 0, 0, 0, "" );