找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 5513|回复: 10

DOS下更改电源模式的方法?

[复制链接]
发表于 2005-10-9 11:47:47 | 显示全部楼层 |阅读模式
[这个贴子最后由liuy在 2005/10/09 02:28pm 第 1 次编辑]

在DOS下哪个软件更改电源模式好些?
找了好久了,都是在ghost恢复后在windows界面的。
发表于 2005-10-9 21:04:56 | 显示全部楼层

DOS下更改电源模式的方法?

有没有必要
回复

使用道具 举报

 楼主| 发表于 2005-10-9 22:08:53 | 显示全部楼层

DOS下更改电源模式的方法?

下面引用由乘风破浪2005/10/09 09:04pm 发表的内容:
有没有必要

哦,忘记说明了!这咚咚是找来用在ghost恢复时,选错电源模式,不想重新ghost恢复时用的,看见别人用过!

[ 本帖最后由 liuy 于 2008-5-11 11:14 PM 编辑 ]
捕捉.jpg
回复

使用道具 举报

发表于 2005-10-11 20:18:50 | 显示全部楼层

DOS下更改电源模式的方法?

jujughost 1.0 里有个镜像文件
回复

使用道具 举报

 楼主| 发表于 2005-10-12 09:42:07 | 显示全部楼层

DOS下更改电源模式的方法?

谢谢!我找找看.
回复

使用道具 举报

发表于 2005-10-12 10:19:30 | 显示全部楼层

DOS下更改电源模式的方法?

哎。。。我也很需要这东西哦。。快找啊。楼主。。我GHOST系统,遇到好多次光标闪动。进不去WINDOWS了。。就是电源错误。。。进不去WINDOWS改不了啊。要是有个DOS下能改的软件就 太好了。。
回复

使用道具 举报

发表于 2005-10-12 21:53:54 | 显示全部楼层

DOS下更改电源模式的方法?

其实更改计算机类型的批处理:就是一个小的DOS工具,配合CMD的一个小命令,结果让 死性不改 弄得越来越复杂。最好是说服 死性不改 公开源代码。
回复

使用道具 举报

发表于 2005-10-13 01:06:18 | 显示全部楼层

DOS下更改电源模式的方法?

jujughost 中的 HAL.BAT内容如下:

@echo off
goto init
:HAL "Windows 电源模式更改工具 For DOS by Yanghaijun" [x]
[ &1. Standard PC                                             ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &2. Advanced Configuration and Power Interface (ACPI) PC    ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &3. ACPI Uniprocessor PC                                    ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &4. ACPI Multiprocessor PC                                  ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &5. MPS Uniprocessor PC                                     ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &6. MPS Multiprocessor PC                                   ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &7. Silicon Graphics Visual Workstation                     ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[ &8. Compaq SystemPro Multiprocessor or 100% Compatible      ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
[? &9. Exit                                                    ]
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪
:
:InputDrive
请输入系统所在分区的盘符: [$ Drv 1,U!]
:
:init
wbat cls (black on +brown)
wbat text 24,20 "技术支持:JUJU猫宽带宝藏论坛 http://www.jujumao.com"
Set Drv=
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%i:\boot.ini" set Drv=%%i
call w.bat box @%0:InputDrive
if not Exist %Drv%:\boot.ini goto exit
rem wbat box 1,1 "%Drv%" ok
Set WinSys=%Drv%:\Winnt
Set File1=
if Exist %WinSys%\Driver~1\I386\sp5.cab Set File1=Sp5.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp4.cab Set File1=Sp4.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp3.cab Set File1=Sp3.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp2.cab Set File1=Sp2.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp1.cab Set File1=Sp1.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\Driver.cab Set File1=Driver.Cab
if not "%File1%"=="" Goto Start
Set WinSys=%Drv%:\Windows
if Exist %WinSys%\Driver~1\I386\sp5.cab Set File1=Sp5.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp4.cab Set File1=Sp4.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp3.cab Set File1=Sp3.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp2.cab Set File1=Sp2.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\sp1.cab Set File1=Sp1.Cab
if not "%File1%"=="" Goto Start
if Exist %WinSys%\Driver~1\I386\Driver.cab Set File1=Driver.Cab
:start
rem wbat box 1,1 "%WinSys%\" ok
call w.bat FIX box 2 @%0:hal
rem wbat box 1,1 "%WBAT%" ok
if "%WBAT%"=="1" goto E_ISA_UP
if "%WBAT%"=="2" goto ACPI
if "%WBAT%"=="3" goto ACPI_UP
if "%WBAT%"=="4" goto ACPI_MP
if "%WBAT%"=="5" goto MPS_UP
if "%WBAT%"=="6" goto MPS_MP
if "%WBAT%"=="7" goto Silicon
if "%WBAT%"=="8" goto Compaq
goto exit
:E_ISA_UP
wbat box "你选择了Standard PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y hal.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrnlpa.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntoskrnl.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:ACPI
wbat box "你选择了Advanced Configuration and Power Interface (ACPI) PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halacpi.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrnlpa.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntoskrnl.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:ACPI_UP
wbat box "你选择了ACPI Uniprocessor PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halaacpi.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrnlpa.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntoskrnl.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:ACPI_MP
wbat box "你选择了ACPI Multiprocessor PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halmacpi.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrpamp.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntkrnlmp.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:MPS_UP
wbat box "你选择了MPS Uniprocessor PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halapic.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrnlpa.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntoskrnl.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:MPS_MP
wbat box "你选择了MPS Multiprocessor PC,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halmps.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrpamp.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntkrnlmp.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:Silicon
wbat box "你选择了Silicon Graphics Visual Workstation,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halborg.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrpamp.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntkrnlmp.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
goto CommonOK
:Compaq
wbat box "你选择了Compaq SystemPro Multiprocessor or 100% Compatible,确认吗?" 确定,取消
if errorlevel 2 goto start
wbat save 1
wbat cls (white on blue)
wbat text 12,24 "正在复制 HAL 文件 ..."
copy /y halsp.dll %WinSys%\system32\hal.dll >nul
copy /y ntkrpamp.exe %WinSys%\system32\ntkrnlpa.exe >nul
copy /y ntkrnlmp.exe %WinSys%\system32\ntoskrnl.exe >nul
wbat restore 1
:CommonOK
wbat box "退出本工具,确认吗?" 确定,取消
if errorlevel 2 goto start
:exit
wbat cls (white on black)

其中用到了WBAT.COM这个文件。
回复

使用道具 举报

 楼主| 发表于 2005-10-13 09:58:51 | 显示全部楼层

DOS下更改电源模式的方法?

那位兄弟,把全套的批处理文件,及hal.dll、halacpi.dll、halaacpi.dll、ntkrnlpa.exe、ntoskrnl.exe等文件打包上传一个吧!
谢谢了!
回复

使用道具 举报

发表于 2005-10-14 11:46:53 | 显示全部楼层

DOS下更改电源模式的方法?

[这个贴子最后由51j在 2005/10/14 11:53am 第 1 次编辑]

对于XP SP2,从WinDir\Driver Cache\i386\sp2.cab中提取下列文件。
在JUJU中,将下列文件制作成HAL.RAR以减少文件体积,使用时用UNRAR.EXE解压。
命令行为:unrar e hal.rar *.* . >NUL

HAL.DLL
HALAACPI.DLL
HALACPI.DLL
HALAPIC.DLL
HALBORG.DLL
HALMACPI.DLL
HALMPS.DLL
HALSP.DLL
NTKRNLMP.EXE
NTKRNLPA.EXE
NTKRPAMP.EXE
NTOSKRNL.EXE
w.bat的内容如下:
WBAT $W %1 %2 %3 %4 %5 %6 %7 %8 %9
set DRV=C
set WBAT=
set ?=
附件包含 UNRAR.EXE、WBAT.COM。
另外,要显示中文,还得使用UCDOS等。

[UploadFile=HAL_1129261602.zip]
回复

使用道具 举报

发表于 2005-10-15 09:09:04 | 显示全部楼层

DOS下更改电源模式的方法?

看你的帖子我学知识。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-4-23 07:56

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表