风一样的男孩 发表于 2013-12-7 16:20:46

修改用户地址空间默认值解决剑灵报错for-win7-32bit

修改用户地址空间默认值解决剑灵报错for-win7-32bit@echo off
setlocal

if defined ProgramW6432 goto 64bit

if not exist %SystemRoot%\system32\bcdedit.exe goto withoutbcdedit

:withbcdedit
bcdedit /set increaseUserVa 2560
if %ERRORLEVEL% == 0 (
        echo Enable Success
        set result = 0
) else (
        echo Enable Failure
        set result = 1
)
goto exit

:64bit
echo 3GB Option is not required for 64bit OS
set result = 1
goto exit

:withoutbcdedit
echo Enable Failure
set result = 1
goto exit

:exit
exit /b %result%

xba1970 发表于 2013-12-7 21:12:06

不是专业人!看不懂!
页: [1]
查看完整版本: 修改用户地址空间默认值解决剑灵报错for-win7-32bit