VB怎么制作XP下开机进入DOS,并运行自己指定的程序
VB如何制作XP下开机进入DOS,并运行自己指定的程序!
VB如何制作XP下开机进入DOS,并运行自己指定的程序!
就像DOS工具箱一样!还有恶意清理软件助手DOS!
就像想做个这样的功能!
谢谢了!
------解决方案--------------------
写 boot.ini 用GetPrivateProfileString,WritePrivateProfileString 函数
就可以了,一会给你写例子,不过你最好做好心理准备!!进不了系统不要找我 呵呵!!
------解决方案--------------------
GetPrivateProfileString,WritePrivateProfileString
------解决方案--------------------
GRUB for DOS 可以实现多系统启动
在boot.ini中加入grldr就可以加载磁盘镜像img
然后运行自行编写DOS程序
这个和VB越来越远了。。。不过既然在VB版
lz貌似应该用 VB 1.0 for DOS / Quick Basic 4.5 编写DOS程序
------解决方案--------------------
我也写了一段代码,嘿嘿,只供参考,不负责哦。。。。
纯以dos的debug写的
-f 100 fff 0 清零就开始啦。。。然后照着写
0100:mov ax,201
mov bx,200
mov cx,1
mov dx,80
int 13
push cx
mov cx,1
mov si,130
mov di,397
0118:mov ax,[si]
mov [di],ax
add di,2
add si,2
inc cx
cmp cx,11
jnz 118
pop cx
mov ax,0301
int 13
int 3
ret
0130:mov ah,4
int 1a
cmp al,1a
jz 140
cmp al,0d
jz 140
jmp 14e
0140:mov ax,3ff
mov bx,100
mov cx,41
mov dx,80
int 13
014e:int 3
014f:add [bx+si],al
0151:
然后g=100运行看看,嘎。。。嘎嘎。。。
VB如何制作XP下开机进入DOS,并运行自己指定的程序!
就像DOS工具箱一样!还有恶意清理软件助手DOS!
就像想做个这样的功能!
谢谢了!
------解决方案--------------------
写 boot.ini 用GetPrivateProfileString,WritePrivateProfileString 函数
就可以了,一会给你写例子,不过你最好做好心理准备!!进不了系统不要找我 呵呵!!
------解决方案--------------------
GetPrivateProfileString,WritePrivateProfileString
------解决方案--------------------
GRUB for DOS 可以实现多系统启动
在boot.ini中加入grldr就可以加载磁盘镜像img
然后运行自行编写DOS程序
这个和VB越来越远了。。。不过既然在VB版
lz貌似应该用 VB 1.0 for DOS / Quick Basic 4.5 编写DOS程序
------解决方案--------------------
我也写了一段代码,嘿嘿,只供参考,不负责哦。。。。
纯以dos的debug写的
-f 100 fff 0 清零就开始啦。。。然后照着写
0100:mov ax,201
mov bx,200
mov cx,1
mov dx,80
int 13
push cx
mov cx,1
mov si,130
mov di,397
0118:mov ax,[si]
mov [di],ax
add di,2
add si,2
inc cx
cmp cx,11
jnz 118
pop cx
mov ax,0301
int 13
int 3
ret
0130:mov ah,4
int 1a
cmp al,1a
jz 140
cmp al,0d
jz 140
jmp 14e
0140:mov ax,3ff
mov bx,100
mov cx,41
mov dx,80
int 13
014e:int 3
014f:add [bx+si],al
0151:
然后g=100运行看看,嘎。。。嘎嘎。。。