WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Reboot and Shutdown Topics

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Restart Windows 95 in MS-DOS Mode

Keywords: 	  MS-DOS mode

Question:

How can you use WinBatch to restart Windows 95 in MS-DOS mode? IntControl(67,0,0,0,0) restarts in normal mode. I need to bring it up in MS-DOS mode.

Answer:

Ummm... Undebugged code here.
inifile="c:\msdos.sys"
flag=IniReadPvt("Options","BootGUI",99,inifile)
Terminate(flag==99,"Eeek","Not 95/98")
FileAttrSet(inifile,"rash")
IniWritePvt("Options","BookGUI",0,inifile)
IniWritePvt("","","",inifile)
FileAttrSet(inifile,"RSH")
IntControl(67,0,0,0,0)

Article ID:   W13318
Filename:   Restart Windows 95 in MS-DOS Mode.txt
File Created: 1999:04:15:16:53:12
Last Updated: 1999:04:15:16:53:12