最近通过Vundle将Gvim转移到其它电脑上,打开txt文本时显示红色错误一闪而过,可使用以下命令查看详细错误信息。
:messages
发布时间:January 24, 2013 // 分类:Vim // No Comments
发布时间:January 18, 2013 // 分类:Firefox // No Comments
火狐安装后备份安装目录和插件目录就可当绿色软件使用了,插件目录在:
%AppData%\Mozilla\Firefox\Profiles
然后在Firefox启动参数中定义数据目录:
"D:\Program Files\Firefox\firefox.exe" -profile "D:\Program Files\Imacros\firefox" -no-remote
也可修改配置文件定义Profiles目录
%AppData%\Mozilla\Firefox\profiles.ini
#32位
%WINDIR%\System32\Macromed\Flash\NPSWF32_11_5_502_146.dll
#64位
%WINDIR%\SysWOW64\Macromed\Flash\NPSWF64_11_5_502_146.dll
发布时间:January 18, 2013 // 分类:Windows // No Comments
备份Office2010激活信息文件:
#Windows XP
C:\Documents and Settings\All Users\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat
#Windows 7/Vista
C:\ProgramData\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat
恢复Office2010激活信息,先导入原先Office安装的Key:
C:\Program Files\Microsoft Office\Office14
cscript ospp.vbs /inpkey:PYFGB-4RDKK-KG4BW-9MKVJ-CM84K
停止osppsvc服务并覆盖之间备份的Office2010授权信息文件。
net stop osppsvc
发布时间:January 14, 2013 // 分类:Firefox // No Comments
Adobe Flash Player更新历史版本下载:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
Adobe Flash下载链接,修改版本号可使用迅雷下载。
Download Adobe Flash Player v11.2.x (for Internet Explorer) 32-bit from here:
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_ax_32bit.exe
Download Adobe Flash Player v11.2.x (for Internet Explorer) 64-bit from here:
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_ax_64bit.exe
Download Adobe Flash Player v11.2.x (for All Other Browsers) 32-bit from here:
http://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_32bit.exe
Download Adobe Flash Player v11.2.x (for All Other Browsers) 64-bit from here:
http://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_64bit.exe
发布时间:January 11, 2013 // 分类:Windows // No Comments
wscript.sleep 10000
set ws=createobject("wscript.shell")
ws.run "psexec.exe -l -d ""C:\Program Files (x86)\Tencent\QQ\Bin\QQ.exe"""
wscript.quit
将VBS脚本添加到自动启动项:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v autovbs /t reg_sz /d "c:\program files\auto.vbs" /f