Board logo

标题: [文件操作] [已解决]怎样用bat修改目录下exe兼容模式【windows Server 2003】启动呢? [打印本页]

作者: 867258173    时间: 2015-2-12 02:43     标题: [已解决]怎样用bat修改目录下exe兼容模式【windows Server 2003】启动呢?

本帖最后由 867258173 于 2015-2-12 18:32 编辑

兼容win2000启动是以下代码。
  1. reg add "HKCU\Software\MicROSoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /f /v "%cd%\你exe文件名" /t REG_SZ /d "WIN2000"
复制代码
但windows Server 2003简称是什么?试着只改WIN2000位:windows Server 2003"也是失败?求解决
作者: pcl_test    时间: 2015-2-12 12:22

回复 1# 867258173

对应关系
Windows 95 >WIN95
Windows 98/Windows Me >WIN98
Windows NT 4.0 (Service Pack 5) >NT4SP5
Windows 2000 >WIN2000
Windows XP (Service Pack 2) >WINXPSP2
Windows XP (Service Pack 3) >WINXPSP3
Windows Server 2003 (Service Pack 1) >WINSRV03SP1
Windows Server 2008 (Service Pack 1) >WINSRV08SP1
Windows Vista >VISTARTM
Windows Vista (Service Pack 1) >VISTASP1
Windows Vista (Service Pack 2) >VISTASP2
Windows 7 >WIN7RTM
作者: 867258173    时间: 2015-2-12 18:31

回复 2# pcl_test


    谢谢,这下方便改兼容模式启动了




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2